Sorry, forget about this question.. I think I know why... I will hard code a
difficult role for harker to detect.


----- Original Message ----- 
From: "St�phane_Bisson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 11:04 PM
Subject: Re: cfloginuser attribute "roles" question


> That's bad also... I cannot put like this...
>
>    <cffunction name="BouquetList" access="remote" returnType="query"
> roles="#request.user_role#">
>
> Any suggestion!
>
> ----- Original Message ----- 
> From: "St�phane_Bisson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, August 04, 2003 10:53 PM
> Subject: cfloginuser attribute "roles" question
>
>
> > I'm just questionning about the cf tag cfloginuser attribute "roles".
> Roles has a "s" meaning that I can put many roles for a user. I try to put
> myseft this set of roles in the user table...
> >
> > user_tbl.nickname ='stef'
> > user_tbl.role        1 = 'user, user2'  2= 'user; user2'   3= 'user
user2'
> >
> > the login.cfc is doing...
> >
> >     <cflogin idletimeout="#request.Session_Elapsed_TimeSS#">
> >      <cfloginuser name="#user_tbl.nickname#"
> password="#user_tbl.password#"
> >      roles="#user_tbl.role#">
> >
> >
> > and when I try to call the method below...
> >
> >    <cffunction name="MailList" access="remote" returnType="query"
> roles="user2"
> >
> > and CF gives me... Current user was not authorized to invoke this method
> >
> > How can I make a user has many roles! and be able to execute the CFC
> methods that belongs to these roles.. I don't want to have to create many
> user ids to go everywhere in our site... Stef has an user... StefAdmin has
> an Administration of our site... etc..
> >
> > Thanks
> >
> > Stephane
> >
> >
> >
> >
> >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to