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-27 00:33:16 +00:00
|
|
|
"user-view:show",
|
|
|
|
"ticket-report: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",
|
2022-01-27 00:33:16 +00:00
|
|
|
"btn-remove-whatsapp",
|
|
|
|
"ticket-report:show",
|
2022-02-23 00:53:10 +00:00
|
|
|
"connection-button:show"
|
2022-01-13 10:05:08 +00:00
|
|
|
],
|
|
|
|
},
|
2022-01-06 01:26:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default rules;
|