PDA

View Full Version : Provide Save Rights on Selective ASP Pages



Steven Lemarr
12-Jul-2007, 01:28 PM
I am working on a web site where most of the ASP pages are Display only, but
I have one ASP page that I need to allow the user to add new records to a
file. I have all users in the user file set display only, what would the
suggestted way to allow this 1 ASP page to be allowed to save records to a
file.

Steve

Bob Worsley
13-Jul-2007, 08:25 AM
Steven, how are you setting your users set to "display only"? i.e. are you
setting all of the fields on the client to readonly or disabled or setting
the asp to no save with the database flag?

If the latter, and all users are allowed to save, why not just hard code the
flag in that page to allow saving? Or did I miss what you're doing?
Bob

"Steven Lemarr" <steve@jahl.com> wrote in message
news:B4ZcxILxHHA.3972@dacmail.dataaccess.com...
> I am working on a web site where most of the ASP pages are Display only,
but
> I have one ASP page that I need to allow the user to add new records to a
> file. I have all users in the user file set display only, what would the
> suggestted way to allow this 1 ASP page to be allowed to save records to a
> file.
>
> Steve
>
>
>

Steven Lemarr
13-Jul-2007, 12:25 PM
Bob, I am using the user list that is in the Order Entry Example and not
sure you can just set the user rights flag for a single ASP page. I was
planning on testing that if I did not get an answer in the newgroup. Fairly
new to this AJAX stuff and still not sure what can and cannot be done.

Steve

"Bob Worsley" <bworsley@comcast.net> wrote in message
news:YAE0DEVxHHA.5536@dacmail.dataaccess.com...
> Steven, how are you setting your users set to "display only"? i.e. are
> you
> setting all of the fields on the client to readonly or disabled or setting
> the asp to no save with the database flag?
>
> If the latter, and all users are allowed to save, why not just hard code
> the
> flag in that page to allow saving? Or did I miss what you're doing?
> Bob
>
> "Steven Lemarr" <steve@jahl.com> wrote in message
> news:B4ZcxILxHHA.3972@dacmail.dataaccess.com...
>> I am working on a web site where most of the ASP pages are Display only,
> but
>> I have one ASP page that I need to allow the user to add new records to a
>> file. I have all users in the user file set display only, what would the
>> suggestted way to allow this 1 ASP page to be allowed to save records to
>> a
>> file.
>>
>> Steve
>>
>>
>>
>
>
>

Bob Worsley
13-Jul-2007, 02:29 PM
Yeah, I'm just starting out too, been working with it for a couple of
months, just getting ready to deploy my first application.

I would think you could at the top of your page simply do

<%
bEditRights = True
%>

and as long as it's below pagetop.inc.asp, you would be good. Worth a
try...
Bob

"Steven Lemarr" <steve@jahl.com> wrote in message
news:LDzHOKXxHHA.3972@dacmail.dataaccess.com...
> Bob, I am using the user list that is in the Order Entry Example and not
> sure you can just set the user rights flag for a single ASP page. I was
> planning on testing that if I did not get an answer in the newgroup.
Fairly
> new to this AJAX stuff and still not sure what can and cannot be done.
>
> Steve
>
> "Bob Worsley" <bworsley@comcast.net> wrote in message
> news:YAE0DEVxHHA.5536@dacmail.dataaccess.com...
> > Steven, how are you setting your users set to "display only"? i.e. are
> > you
> > setting all of the fields on the client to readonly or disabled or
setting
> > the asp to no save with the database flag?
> >
> > If the latter, and all users are allowed to save, why not just hard code
> > the
> > flag in that page to allow saving? Or did I miss what you're doing?
> > Bob
> >
> > "Steven Lemarr" <steve@jahl.com> wrote in message
> > news:B4ZcxILxHHA.3972@dacmail.dataaccess.com...
> >> I am working on a web site where most of the ASP pages are Display
only,
> > but
> >> I have one ASP page that I need to allow the user to add new records to
a
> >> file. I have all users in the user file set display only, what would
the
> >> suggestted way to allow this 1 ASP page to be allowed to save records
to
> >> a
> >> file.
> >>
> >> Steve
> >>
> >>
> >>
> >
> >
> >
>
>
>

Steven Lemarr
13-Jul-2007, 03:54 PM
Bob,

Tried setting the right, but does not work, I think somewhere in the save
process there is a Call to the HasRight function to get the user rights.

Steve

"Bob Worsley" <bworsley@comcast.net> wrote in message
news:cfrm2PYxHHA.5536@dacmail.dataaccess.com...
> Yeah, I'm just starting out too, been working with it for a couple of
> months, just getting ready to deploy my first application.
>
> I would think you could at the top of your page simply do
>
> <%
> bEditRights = True
> %>
>
> and as long as it's below pagetop.inc.asp, you would be good. Worth a
> try...
> Bob
>
> "Steven Lemarr" <steve@jahl.com> wrote in message
> news:LDzHOKXxHHA.3972@dacmail.dataaccess.com...
>> Bob, I am using the user list that is in the Order Entry Example and not
>> sure you can just set the user rights flag for a single ASP page. I was
>> planning on testing that if I did not get an answer in the newgroup.
> Fairly
>> new to this AJAX stuff and still not sure what can and cannot be done.
>>
>> Steve
>>
>> "Bob Worsley" <bworsley@comcast.net> wrote in message
>> news:YAE0DEVxHHA.5536@dacmail.dataaccess.com...
>> > Steven, how are you setting your users set to "display only"? i.e. are
>> > you
>> > setting all of the fields on the client to readonly or disabled or
> setting
>> > the asp to no save with the database flag?
>> >
>> > If the latter, and all users are allowed to save, why not just hard
>> > code
>> > the
>> > flag in that page to allow saving? Or did I miss what you're doing?
>> > Bob
>> >
>> > "Steven Lemarr" <steve@jahl.com> wrote in message
>> > news:B4ZcxILxHHA.3972@dacmail.dataaccess.com...
>> >> I am working on a web site where most of the ASP pages are Display
> only,
>> > but
>> >> I have one ASP page that I need to allow the user to add new records
>> >> to
> a
>> >> file. I have all users in the user file set display only, what would
> the
>> >> suggestted way to allow this 1 ASP page to be allowed to save records
> to
>> >> a
>> >> file.
>> >>
>> >> Steve
>> >>
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>>
>
>
>