mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 20:29:17 +00:00
chore: code cleanup
This commit is contained in:
18
frontend/src/rules.js
Normal file
18
frontend/src/rules.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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",
|
||||
],
|
||||
},
|
||||
};
|
||||
|
||||
export default rules;
|
||||
Reference in New Issue
Block a user