Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Adding plugin permissions

Domos123Domos123 New
edited January 2012 in Vanilla 2.0 - 2.8

How do you add permissions to a plugin? I tried to add an 'Add' permission to the Poll plugin and remove the defunct 'Delete' permission, but unfortunately, there is still a delete checkbox, and no add checkbox.
To clarify, I changed the permission declaration to:
'RegisterPermissions' => array('Plugins.Poll.Manage','Plugins.Poll.View','Plugins.Poll.Add'),

It was previously
'RegisterPermissions' => array('Plugins.Poll.Manage','Plugins.Poll.View','Plugins.Poll.Delete'),



  • Options
    businessdadbusinessdad Stealth contributor MVP
    edited March 2012

    I had the same issue. Probably you already found out, but you have to disable and enable the plugin for the new permissions to appear. It worked for me. :)

Sign In or Register to comment.