跳到主要内容

PermissionPredicatePropType

配置示例

{
"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.