Support deleting a task from a schedule

This commit is contained in:
Dane Everitt
2020-03-18 21:08:32 -07:00
parent 5345a2a3e1
commit 78ed343a34
10 changed files with 172 additions and 8 deletions

View File

@@ -12,6 +12,14 @@ class Permission extends Validable
*/
const RESOURCE_NAME = 'subuser_permission';
/**
* Constants defining different permissions available.
*/
const ACTION_SCHEDULE_READ = 'schedule.read';
const ACTION_SCHEDULE_CREATE = 'schedule.create';
const ACTION_SCHEDULE_UPDATE = 'schedule.update';
const ACTION_SCHEDULE_DELETE = 'schedule.delete';
/**
* Should timestamps be used on this model.
*