47 lines
898 B
JavaScript
47 lines
898 B
JavaScript
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",
|
|
"connections-view:show",
|
|
"dashboard-view:show",
|
|
"queues-view:show",
|
|
"user-view:show",
|
|
"ticket-report:show",
|
|
|
|
],
|
|
},
|
|
|
|
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",
|
|
"btn-add-user",
|
|
"icon-remove-user",
|
|
"btn-add-whatsapp",
|
|
"btn-remove-whatsapp",
|
|
"ticket-report:show",
|
|
"connection-button:show"
|
|
],
|
|
},
|
|
};
|
|
|
|
export default rules;
|