Logged-in status and User Rights

Hello,

I'm aware of the `zp_loggedin()` function. I also know that the `$_zp_loggedin` variable returns a bit-calculated value dependent on the particular rights a user has. Is there a way to find the particular bit-value of $_zp_loggedin depending on one's rights? Or is there another way around?

INTENDED USE
I have a few lambda users that will need to upload photos and update descriptions. I am writing an online user manual that will describe "How to do" this and that, and I want a user to see only the relevant parts, so a user who only is allowed to upload photos will only see that part of the user manual.

P.S. Once it's finished (not soon...), I will release it to the community.

Thanks.

Comments

Sign In or Register to comment.