Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.13 KB

ConditionSetRuleCreate.md

File metadata and controls

13 lines (10 loc) · 1.13 KB

# ConditionSetRuleCreate

Properties

Name Type Description Notes
user_set string The userset that will be given permission, i.e: all the users matching this rule will be given the specified permission
permission string The permission that will be granted to the userset on the resourceset. The permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the "permission name".
resource_set string The resourceset that represents the resources that are granted for access, i.e: all the resources matching this rule can be accessed by the userset to perform the granted permission
is_role bool if True, will set the condition set rule to the role's autogen user-set. [optional] [default to false]
is_resource bool if True, will set the condition set rule to the resource's autogen resource-set. [optional] [default to false]

[Back to Model list] [Back to API list] [Back to README]