Skip to main content
Version: 9 - Germknödel

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

NameTypeDescription
allow_deletedbool
allow_normalbool
bystr
clstyping.Union[ type, NoneType ]
debugboolif set, the content of the data being written will be logged.
identity_idtyping.Union[ flow_api.system.NotSet, str ]Reference to the identity the role is mapped to.
inittyping.Union[ dict, NoneType ]
propagatetyping.Union[ flow_api.system.NotSet, bool ]A flag to control if this role is propagated to other records created by the identity.
role_idtyping.Union[ flow_api.system.NotSet, str ]Reference to the role the identity is mapped to.
selecttyping.Union[ str, NoneType ]

Constants

RESOURCE = identity_role

Methods

clone

delete

exists

export

get

get_dict

identity

restore

role

save