summaryrefslogtreecommitdiff
path: root/app/Model/ProjectRoleRestrictionModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-10-07 08:45:18 -0400
committerFrederic Guillot <fred@kanboard.net>2016-10-07 08:45:18 -0400
commit096b000c59842d0d2995ce66b84f9ca87370473f (patch)
tree4dcc1eb4473626b6390a5d4b9002d43c92e8e015 /app/Model/ProjectRoleRestrictionModel.php
parent4cc856344f0105fe893c384eeec6b14036321651 (diff)
Add restriction to disable task drag and drop for a project
Diffstat (limited to 'app/Model/ProjectRoleRestrictionModel.php')
-rw-r--r--app/Model/ProjectRoleRestrictionModel.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/ProjectRoleRestrictionModel.php b/app/Model/ProjectRoleRestrictionModel.php
index dc8abf79..8ccdcf9c 100644
--- a/app/Model/ProjectRoleRestrictionModel.php
+++ b/app/Model/ProjectRoleRestrictionModel.php
@@ -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'),
);
}