Skip to main content
Version: 7 - Gugelhupf

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

NameTypeDescription
**kwargs
by
init
select

Constants

RESOURCE = role

Methods

add_identity

add_permission

add_tag

archive

clone

delete

exists

export

get

get_dict

get_identities

get_identity_created_by

get_identity_modified_by

get_logs

get_permissions

get_tags

load

remove_identity

remove_permission

remove_tag

restore

save

set