Vridlo/types/Permission

From ALT Linux Wiki
< Vridlo/types
Revision as of 15:46, 12 December 2019 by Majioa (talk | contribs)

Permission is a structure that represents Permission model. It is described as:

  • slug is string mandatory write-once
Unique slug identifier of the permission, which provides tabelized name of model to access to.
  • names is Name array mandatory
Name array for the permission.
  • member_slugs is string array mandatory
Defines included into the permission user or team slugs, to allow them accessing the target feature.