It looks like you're new here. If you want to get involved, click one of these buttons!
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'),
Answers
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. :)
Awards/Badges Plugin now available! | My blog - About Me - My Plugins for Vanilla
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •