Logo Help Center

Elvis 4 action plug-ins setting - requiredRoles

Elvis 4 action plug-ins setting - requiredRoles

(10) Optional setting

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>
Was this article helpful?
0 out of 0 found this helpful / Created: / Updated:
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.