2022-01-06 01:26:15 +00:00
|
|
|
const rules = {
|
|
|
|
user: {
|
|
|
|
static: [],
|
|
|
|
},
|
|
|
|
|
|
|
|
admin: {
|
|
|
|
static: [
|
|
|
|
"drawer-admin-items:view",
|
|
|
|
"tickets-manager:showall",
|
|
|
|
"user-modal:editProfile",
|
|
|
|
"user-modal:editQueues",
|
|
|
|
"ticket-options:deleteTicket",
|
|
|
|
"contacts-page:deleteContact",
|
2022-01-10 20:10:20 +00:00
|
|
|
|
|
|
|
"connections-view:show",
|
2022-01-10 20:35:45 +00:00
|
|
|
"dashboard-view:show",
|
2022-01-10 23:06:15 +00:00
|
|
|
"queues-view:show",
|
2022-01-13 17:11:50 +00:00
|
|
|
"user-view:show",
|
2022-01-13 15:20:17 +00:00
|
|
|
|
2022-01-06 01:26:15 +00:00
|
|
|
],
|
|
|
|
},
|
2022-01-13 10:05:08 +00:00
|
|
|
|
|
|
|
master: {
|
|
|
|
static: [
|
|
|
|
"drawer-admin-items:view",
|
|
|
|
"tickets-manager:showall",
|
|
|
|
"user-modal:editProfile",
|
|
|
|
"user-modal:editQueues",
|
|
|
|
"ticket-options:deleteTicket",
|
|
|
|
"contacts-page:deleteContact",
|
|
|
|
|
|
|
|
"connections-view:show",
|
|
|
|
"dashboard-view:show",
|
|
|
|
"queues-view:show",
|
|
|
|
"user-view:show",
|
|
|
|
"settings-view:show",
|
|
|
|
|
2022-01-13 11:09:26 +00:00
|
|
|
"btn-add-user",
|
|
|
|
"icon-remove-user",
|
|
|
|
"btn-add-whatsapp",
|
|
|
|
"btn-remove-whatsapp",
|
2022-01-13 10:05:08 +00:00
|
|
|
],
|
|
|
|
},
|
2022-01-06 01:26:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default rules;
|