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.
Sidepanel by roles
Hi, is there a way to show some things with the sidepanel extensions to some roles and hide it for others?
Thanks
0
This discussion has been closed.
Comments
Create a new permission:
$Context->Configuration['PERMISSION_SEE_OTHER__SECRET_PANEL'] = '0'; $Context->Dictionary['PERMISSION_SEE_OTHER__SECRET_PANEL'] = 'Can see the secret panel';
add
if ($Context->Session->User->Permission("PERMISSION_SEE_OTHER__SECRET_PANEL")) { ... }
Adding something to the panel: see the lussumo documentation.