Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 913 Bytes

RoleCreate.md

File metadata and controls

14 lines (9 loc) · 913 Bytes

RoleCreate

Properties

Name Type Description Notes
key kotlin.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 kotlin.String The name of the role
description kotlin.String optional description string explaining what this role represents, or what permissions are granted to it. [optional]
permissions kotlin.collections.List<kotlin.String> list of action keys that define what actions this resource role is permitted to do [optional]
extends kotlin.collections.List<kotlin.String> 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]