[events] Fixed permissions names
This commit is contained in:
parent
852b1dad03
commit
5731fc9d6d
|
@ -1,16 +1,16 @@
|
||||||
export const PERMISSIONS = {
|
export const PERMISSIONS = {
|
||||||
// Can create events
|
// Can create events
|
||||||
CREATE: 'schedule_create',
|
CREATE: 'events_create',
|
||||||
// Can edit events
|
// Can edit events
|
||||||
EDIT: 'schedule_edit',
|
EDIT: 'events_edit',
|
||||||
// Can delete events
|
// Can delete events
|
||||||
DELETE: 'schedule_delete',
|
DELETE: 'events_delete',
|
||||||
// Can create and edit EventTypes
|
// Can create and edit EventTypes
|
||||||
EVENT_TYPE: 'schedule_event_type',
|
EVENT_TYPE: 'events_event_type',
|
||||||
// Can create and edit JobTypes
|
// Can create and edit JobTypes
|
||||||
JOB_TYPE: 'schedule_job_type',
|
JOB_TYPE: 'events_job_type',
|
||||||
// Can self assign to jobs
|
// Can self assign to jobs
|
||||||
ASSIGN: 'schedule_assign',
|
ASSIGN: 'events_assign',
|
||||||
// Can assign other users to jobs
|
// Can assign other users to jobs
|
||||||
ASSIGN_OTHER: 'schedule_assign_other',
|
ASSIGN_OTHER: 'events_assign_other',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue