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
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.

Revision as of 12:46, 12 December 2019

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.