Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.42 KB

RoleCreate.md

File metadata and controls

17 lines (12 loc) · 1.42 KB

RoleCreate

Properties

Name Type Description Notes
key String A URL-friendly name of the role (i.e: slug). You will be able to query later using this key instead of the id (UUID) of the role.
name String The name of the role
description Option<String> optional description string explaining what this role represents, or what permissions are granted to it. [optional]
permissions Option<Vec> list of action keys that define what actions this resource role is permitted to do [optional]
attributes Option<serde_json::Value> optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator [optional]
extends Option<Vec> list of role keys that define what roles this role extends. In other words: this role will automatically inherit all the permissions of the given roles in this list. [optional]
granted_to Option<models::DerivedRoleBlockEdit> Derived role that inherit will be applied on this role [optional]

[Back to Model list] [Back to API list] [Back to README]