release v2.0.0 #4
|
@ -1,16 +1,16 @@
|
|||
export const PERMISSIONS = {
|
||||
// Can create events
|
||||
CREATE: 'schedule_create',
|
||||
CREATE: 'events_create',
|
||||
// Can edit events
|
||||
EDIT: 'schedule_edit',
|
||||
EDIT: 'events_edit',
|
||||
// Can delete events
|
||||
DELETE: 'schedule_delete',
|
||||
DELETE: 'events_delete',
|
||||
// Can create and edit EventTypes
|
||||
EVENT_TYPE: 'schedule_event_type',
|
||||
EVENT_TYPE: 'events_event_type',
|
||||
// Can create and edit JobTypes
|
||||
JOB_TYPE: 'schedule_job_type',
|
||||
JOB_TYPE: 'events_job_type',
|
||||
// Can self assign to jobs
|
||||
ASSIGN: 'schedule_assign',
|
||||
ASSIGN: 'events_assign',
|
||||
// Can assign other users to jobs
|
||||
ASSIGN_OTHER: 'schedule_assign_other',
|
||||
ASSIGN_OTHER: 'events_assign_other',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue