RolePermission
class flow_api.role_permission.RolePermission
(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, operation=[class 'flow_api.system.NotSet'], project_id=[class 'flow_api.system.NotSet'], role_id=[class 'flow_api.system.NotSet'], table_type=[class 'flow_api.system.NotSet'], debug=False
)
Base class: Row
The RolePermission class allows for defining which operations are allowed on which tables.
Parameters
Name | Type | Description |
---|---|---|
allow_deleted | bool | |
allow_normal | bool | |
by | str | |
cls | typing.Union[ type, NoneType ] | |
debug | bool | if set, the content of the data being written will be logged. |
init | typing.Union[ dict, NoneType ] | |
operation | typing.Union[ flow_api.system.NotSet, str, NoneType ] | Which operation the role_permission permits. |
project_id | typing.Union[ flow_api.system.NotSet, str, NoneType ] | In which project the role_permission permits operations. |
role_id | typing.Union[ flow_api.system.NotSet, str ] | Reference to the role this role_permission belongs to. |
select | typing.Union[ str, NoneType ] | |
table_type | typing.Union[ flow_api.system.NotSet, str, NoneType ] | For which table the role_permission permits operations. |
Constants
RESOURCE = role_permissionMethods
clone
details
delete
details
exists
details
export
details
get
details
get_dict
details
project
details
restore
details
role
details
save
details