Add restriction to disable task drag and drop for a project

This commit is contained in:
Frederic Guillot
2016-10-07 08:45:18 -04:00
parent 4cc856344f
commit 096b000c59
28 changed files with 50 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ class ProjectRoleRestrictionModel extends Base
const RULE_TASK_CREATION = 'task_creation';
const RULE_TASK_OPEN_CLOSE = 'task_open_close';
const RULE_TASK_MOVE = 'task_move';
/**
* Get rules
@@ -27,6 +28,7 @@ class ProjectRoleRestrictionModel extends Base
return array(
self::RULE_TASK_CREATION => t('Task creation is not permitted'),
self::RULE_TASK_OPEN_CLOSE => t('Closing or opening a task is not permitted'),
self::RULE_TASK_MOVE => t('Moving a task is not permitted'),
);
}