Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

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.