IdentityRole
class flow_api.identity_role.IdentityRole
(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, identity_id=<class 'flow_api.system.NotSet'>, propagate=<class 'flow_api.system.NotSet'>, role_id=<class 'flow_api.system.NotSet'>, debug=False
)
Base class: Row
Mapping an identity to a role.
Parameters
Name | Type | Description |
---|---|---|
allow_deleted | bool | |
allow_normal | bool | |
by | str | |
cls | typing.Union[ type, NoneType ] | |
debug | bool | if set, the content of the data being written will be logged. |
identity_id | typing.Union[ flow_api.system.NotSet, str ] | Reference to the identity the role is mapped to. |
init | typing.Union[ dict, NoneType ] | |
propagate | typing.Union[ flow_api.system.NotSet, bool ] | A flag to control if this role is propagated to other records created by the identity. |
role_id | typing.Union[ flow_api.system.NotSet, str ] | Reference to the role the identity is mapped to. |
select | typing.Union[ str, NoneType ] |
Constants
RESOURCE = identity_roleMethods
clone
details
delete
details
exists
details
export
details
get
details
get_dict
details
identity
details
restore
details
role
details
save
details