WoodWing Help Center

Elvis 4 action plug-ins setting - requiredPermissionMask

Elvis 4 action plug-ins setting - requiredPermissionMask

(9) Optional setting

Permission mask validation to check if the current selection of assets and/or folders is valid. The plugin buttons and menu items are enabled or disabled based on the result of the expression. The result of the validation is combined with the result of the enabledExpression check.

For example, when a plugin can change metadata, you can check if the user has permission to edit metadata on the selected assets.

<action>
    <requiredPermissionMask>...</requiredPermissionMask>
</action>

Examples

A plugin that needs access to thumbnails an previews

VIEW and VIEW_PREVIEW permissions are required.

<requiredPermissionMask>VP-------</requiredPermissionMask>

A plugin that needs to change asset metadata

EDIT_METADATA permission is required.

<requiredPermissionMask>----E----</requiredPermissionMask>

A plugin that needs access to the orignal file

USE_ORIGINAL permission is required.

<requiredPermissionMask>---U-----</requiredPermissionMask>
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.