Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[PHP] how to know if its the admin ?
Hi all ,
what's the PHP code to know if the visitor is the member of a specific group ?
TFYT !
Bouazza .
what's the PHP code to know if the visitor is the member of a specific group ?
TFYT !
Bouazza .
0
This discussion has been closed.
Comments
$Context->User->Role == 'role name'
I believe or, possibly better to check for permissions:$Context->Session->User->Permission('PERMISSION_permission-name')