Fork me on GitHub
Current releases are 2.1 (gold) and 2.0.18.11 (security patch for 2.0)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

Adding plugin permissions

Domos123Domos123 New
edited January 2012 in Vanilla 2.0 Help

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'),

Tagged:

Answers

Sign In or Register to comment.