Required capabilities for the plugin to become visible. One or more capabilities can be configured, both standard capabilities and custom capabilities.
Custom capabilities always start with ROLE_CUSTOM_ACTION_ followed by the name of your capability, for example ROLE_CUSTOM_ACTION_MYACTION. Custom capabilities can be assigned in the "Manage Permissions" tab.
<action>
<requiredRoles>...</requiredRoles>
</action>
Examples
Standard download capability
<requiredRoles>
<role>ROLE_DOWNLOAD</role>
</requiredRoles>
Custom plugin capability
<requiredRoles>
<role>ROLE_CUSTOM_ACTION_MYACTION</role>
</requiredRoles>
Standard and custom capability
<requiredRoles>
<role>ROLE_IMPORT</role>
<role>ROLE_CUSTOM_ACTION_MYACTION</role>
</requiredRoles>
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.