mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
further improvements in permission
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export class ActionsPermission{
|
||||
access = 534;
|
||||
create = 535;
|
||||
remove = 536;
|
||||
edit = 537;
|
||||
createPost = 538;
|
||||
removePost = 539;
|
||||
editPost = 540;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export class AgendaPermission{
|
||||
access = 530
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export class ChatPermission{
|
||||
access = 541;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export class GabinetePermission{
|
||||
access = 531;
|
||||
pr_tasks = 532;
|
||||
md_tasks = 533;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { ActionsPermission } from "./actions.permission";
|
||||
import { AgendaPermission } from "./agenda-permission";
|
||||
import { ChatPermission } from "./chat-permission";
|
||||
import { GabinetePermission } from "./gabinete-permission";
|
||||
|
||||
export class PermissionList{
|
||||
Agenda = new AgendaPermission();
|
||||
Gabinete = new GabinetePermission();
|
||||
Actions = new ActionsPermission();
|
||||
Chat = new ChatPermission();
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
export class PermissionList{
|
||||
Agenda = 530;
|
||||
Gabinete = 531;
|
||||
Actions = 534;
|
||||
Chat = 541;
|
||||
}
|
||||
Reference in New Issue
Block a user