[events] Fixed permissions names

This commit is contained in:
Ferdinand Thiessen 2021-03-29 07:35:37 +02:00
parent 852b1dad03
commit 5731fc9d6d
1 changed files with 7 additions and 7 deletions

View File

@ -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',
};