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.
adding permissions
what's the easiest way to add a new permission to a role? I can't seem to find a master list of permissions anywhere, looks like I have to tack it onto the text in the permissions column in LUM_Role but that just seems weird
0
This discussion has been closed.
Comments
So, it would be like...
$Context->Configuration['PERMISSION_DO_SOMETHING'] = '0';
Which will create a new permission and make the default value "false". If you wanted the new permission to be granted to everyone by default, you'd specify 1 instead of 0.
If you wanted to see where all other permissions are specified, take a look at the appg/settings.php file.