[pmwiki-users] identify current authorization level

Henrik Bechmann henrik at bechmannsoftware.com
Thu Jul 20 14:26:40 CDT 2006


How do I determine in PHP code if the current user has edit 
authorization (I don't use UserAuth or AuthUser, just the out-of-the-box 
password protection.).

It appears that $AuthId is only set by UserAuth or AuthUser.

I want to hide certain things from non-authors...

Thanks,

- Henrik

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list