[pmwiki-users] How-Do-I: Trap user roles in Authuser?
    Patrick R. Michaud 
    pmichaud at pobox.com
       
    Fri Dec 30 09:04:42 CST 2005
    
    
  
On Fri, Dec 30, 2005 at 07:45:14AM -0600, Ben Wilson wrote:
> I am trying to redo one of my sites that has used UserAuth to use
> AuthUser. How do I capture what roles a logged-in user has? That is,
> if he is an editor, is there a variable in AuthUser I can look to to
> help me retrieve he is an editor?
Do you need to know the person's "roles" or his "authorizations"?
If the latter, then   (:if auth edit:)  tells you if someone is
authorized to edit the current page.
If the former, we'll have to come up with something for it.  :-)
Pm
    
    
More information about the pmwiki-users
mailing list