further improvements in permission

This commit is contained in:
tiago.kayaya
2022-03-30 15:08:23 +01:00
parent 5ff9ba77cb
commit 236cc86fbf
14 changed files with 66 additions and 33 deletions
@@ -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();
}
-6
View File
@@ -1,6 +0,0 @@
export class PermissionList{
Agenda = 530;
Gabinete = 531;
Actions = 534;
Chat = 541;
}