Skip to main content
Version: 11 - TBD

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

NameTypeDescription
allow_deletedbool
allow_normalbool
bystr
clstyping.Union[ type, NoneType ]
commitbool
debugbool
identity_idtyping.Union[ flow_api.system.NotSet, str ]
inittyping.Union[ dict, NoneType ]
propagatetyping.Union[ flow_api.system.NotSet, bool ]
role_idtyping.Union[ flow_api.system.NotSet, str ]
selecttyping.Union[ str, NoneType ]

Constants

RESOURCE = identity_role

Methods

clone

delete

exists

export

get

get_dict

identity

restore

role

save