Vridlo/types/Permission: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
'''Permission''' is a structure that represents Permission model. It is described as:
'''Permission''' is a '''''primary''''' structure that represents Permission model. It is described as:


* '''slug''' is ''string '''mandatory write-once'''''
* '''slug''' is ''string '''mandatory write-once'''''

Latest revision as of 18:40, 13 December 2019

Permission is a primary 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.