IdentityRole
class flow_api.identity_role.IdentityRole(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=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 | Optional | |
| commit | bool | |
| debug | bool | if set, the content of the data being written will be logged. |
| identity_id | Union | Reference to the identity the role is mapped to. |
| init | Optional | |
| propagate | Union | A flag to control if this role is propagated to other records created by the identity. |
| role_id | Union | Reference to the role the identity is mapped to. |
| select | Optional |
Constants
RESOURCE = identity_roleMethods
clone
details
delete
details
duplicate
details
exists
details
export
details
get
details
get_dict
details
identity
details
restore
details
role
details
save
details