ExplicitPermissionModel
Model to access the permission definitions of an asset.
implements: hash
bundle: standard information structure (sismodel)
since 5.2.0
Model to access the permission definitions of an asset.
Defined hash keys
childPermissions ↦ sequence<ExplicitPermissionModel>
since 5.2.0
Return a sequence of explicit permissions which are in the hierarchy below these explicit permission.
hasLock.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is secured by an active lock by permission rights management
- Example:
model.hasLock.elem - is elem in model guarded by an active permission lock?
article.hasLock.text - Returns if there is a permission lock for text configured in 'article' ? (In this example 'article' is of of type ArticleModel)
isLocked.<String:hashKey> ↦ Boolean
since 5.2.0
Check if the value accessed by the hash-key 'hashKey' within this model is is locked for current user by permission rights management
- Example:
model.isLocked.elem -- is value for elem in model locked for current logged-in user?
article.isLocked.text -- Returns if the value for 'text' within 'article' is locked (not accessible) for current user. (In this example 'article' is of of type ArticleModel)
permissionGroups ↦ sequence<ExplicitPermissionModel>
since 5.2.0
get values of feature 'censhare:module.oc.permission.group'
title ↦ sequence<PermissionGroupAssetModel> or sequence< PermissionGroupAssetFeatureModel>
since 5.2.0
get values of feature 'censhare:module.oc.permission.group'
Permission Verbs used
article.explicitPermissionGroups.childPermissions
since 5.2.0 'article.explicitPermissionGroups.childPermissions' - guards requests to '→childPermissions'
article.explicitPermissionGroups.groupTitle
since 5.2.0 'article.explicitPermissionGroups.groupTitle' - guards requests to '→title'
article.explicitPermissionGroups.groups
since 5.2.0 'article.explicitPermissionGroups.groups' - guards requests to '→permissionGroups'