Skip to main content

PermissionPredicatePropType

Configuration example

{
"permissionPredicate": {
"hasAnyOf": [
"ROLE_EDIT"
]
}
}
NameTypeDefaultDescription
hasAllOfArray<string>will be used to check if the context.userPermissionMap contains all the specified permission token list.
hasAnyOfArray<string>will be used to check if the context.userPermissionMap contains any of the specified permission token list.