michaeluno / admin-page-framework

Facilitates WordPress plugin and theme development.
http://admin-page-framework.michaeluno.jp/
Other
337 stars 71 forks source link

Widgets permissions #207

Closed vladkucherov closed 9 years ago

vladkucherov commented 9 years ago

Hi,

Is there a way to set the groups allowed to mess with a certain widget? for some reason the Editors group is not allowed to view a widget, although, they are allowed to edit the page.

Ideas?

michaeluno commented 9 years ago

Hi,

Do you mean User Roles by saying groups? If so, you can set a custom capability in the third parameter of the constructor of your class extending the widget factory class.

michaeluno commented 9 years ago

Closing due to inactivity.