Interface ConditionSetRuleCreate

Export

ConditionSetRuleCreate

Hierarchy

  • ConditionSetRuleCreate

Properties

is_resource?: boolean

if True, will set the condition set rule to the resource's autogen resource-set.

Memberof

ConditionSetRuleCreate

is_role?: boolean

if True, will set the condition set rule to the role's autogen user-set.

Memberof

ConditionSetRuleCreate

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

Memberof

ConditionSetRuleCreate

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

Memberof

ConditionSetRuleCreate

user_set: string

The userset that will be given permission, i.e: all the users matching this rule will be given the specified permission

Memberof

ConditionSetRuleCreate

Generated using TypeDoc