Role
class flow_api.role.Role
(select=None, init=None, by=name, **kwargs
)
Base class: Resource
A Role which can be assigned to records which have an identity.
A role can be created with system.role('rolename').save()
inside the
handler
function of a flow script using the system
reference.
See the corresponding Resources class at Role
Parameters
Name | Type | Description |
---|---|---|
**kwargs | ||
by | ||
init | ||
select |
Constants
RESOURCE = roleMethods
add_identity
details
add_permission
details
add_tag
details
archive
details
clone
details
delete
details
exists
details
export
details
get
details
get_dict
details
get_identities
details
get_identity_created_by
details
get_identity_deleted_by
details
get_identity_modified_by
details
get_logs
details
get_permissions
details
get_tags
details
remove_identity
details
remove_permission
details
remove_tag
details
restore
details
save
details