How identify Full Admin privileges
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
How identify Full Admin privileges
How to identify users who have Full Administrator privileges ?
Re: How identify Full Admin privileges
ACP, Permissions, Permission Roles, Admin Roles, Full Admin, View assigned items
"I hate trolls!" - Willow Ufgood
Re: How identify Full Admin privileges
OK, thanks ...
I mean inside PHP how to identify ?! With $user->data['user_type'] I can identify an founder but I'm looking possibility how to detect user with Full Administrator privileges ?!
I mean inside PHP how to identify ?! With $user->data['user_type'] I can identify an founder but I'm looking possibility how to detect user with Full Administrator privileges ?!
- karlsemple
- Registered User
- Posts: 480
- Joined: Mon Jan 23, 2006 8:49 am
- Location: Hereford
- Contact:
Re: How identify Full Admin privileges
mocambo wrote:OK, thanks ...
I mean inside PHP how to identify ?! With $user->data['user_type'] I can identify an founder but I'm looking possibility how to detect user with Full Administrator privileges ?!
There is no easy way like that to check if a user has full Admin permissions as far as I am aware, it is not done by user_type any more, you can check if users have specific acp permissions $auth->acl_get('a_board') for example or if a user has any ACP permissions $auth->acl_get('a_').
Re: How identify Full Admin privileges
Thanks, that seems what I'm looking for.karlsemple wrote:you can check if users have specific acp permissions $auth->acl_get('a_board') for example or if a user has any ACP permissions $auth->acl_get('a_').
Also, please tell me meaning of $user->data['session_admin'] ? Is this useful for same purpose ?
- karlsemple
- Registered User
- Posts: 480
- Joined: Mon Jan 23, 2006 8:49 am
- Location: Hereford
- Contact:
Re: How identify Full Admin privileges
I believe that is used to determine if the user has re-authenticated for entering the Admin panelmocambo wrote: Also, please tell me meaning of $user->data['session_admin'] ? Is this useful for same purpose ?