RolePermission
class flow_api.role_permission.RolePermission
(select=None, cls=None, init=None, by='id', allow_normal=True, allow_deleted=False, commit=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 | Optional | |
commit | bool | |
debug | bool | if set, the content of the data being written will be logged. |
init | Optional | |
operation | Union | Which operation the role_permission permits. |
project_id | Union | In which project the role_permission permits operations. |
role_id | Union | Reference to the role this role_permission belongs to. |
select | Optional | |
table_type | Union | 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