Vridlo/types/Permission: Difference between revisions

From ALT Linux Wiki
(Created page with "'''Permission''' is a structure that represents Permission model. It is described as: * '''slug''' is ''string '''mandatory write-once''''' Unique slug identifier of the per...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
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'''''
Line 6: Line 6:
  Name array for the permission.
  Name array for the permission.
* '''member_slugs''' is ''string array '''mandatory'''''
* '''member_slugs''' is ''string array '''mandatory'''''
  Defines included into the permission [[Vridlo/types/User|user]] or [[Vridlo/types/Group|group]] slugs, to allow them accessing the target feature.
  Defines included into the permission [[Vridlo/types/User|user]] or [[Vridlo/types/Team|team]] slugs, to allow them accessing the target feature.

Latest revision as of 21: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.