diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-04-07 21:46:36 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-04-07 21:46:36 -0400 |
commit | 003c03a4e6a73dfa3633ba756e3647bf9d4517a5 (patch) | |
tree | 1a32db21cd8d4f28a08d928f48c2532d50deae07 /app/Model/ProjectRoleRestrictionModel.php | |
parent | 481e767d3533449e63eda1767c5e6c071d3442a3 (diff) |
Add project restriction to block task edition
Diffstat (limited to 'app/Model/ProjectRoleRestrictionModel.php')
-rw-r--r-- | app/Model/ProjectRoleRestrictionModel.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Model/ProjectRoleRestrictionModel.php b/app/Model/ProjectRoleRestrictionModel.php index 714b2a65..b7a8e084 100644 --- a/app/Model/ProjectRoleRestrictionModel.php +++ b/app/Model/ProjectRoleRestrictionModel.php @@ -19,6 +19,7 @@ class ProjectRoleRestrictionModel extends Base const RULE_TASK_OPEN_CLOSE = 'task_open_close'; const RULE_TASK_MOVE = 'task_move'; const RULE_TASK_CHANGE_ASSIGNEE = 'task_change_assignee'; + const RULE_TASK_UPDATE_ASSIGNED = 'task_update_assigned'; /** * Get rules @@ -33,6 +34,7 @@ class ProjectRoleRestrictionModel extends Base 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'), self::RULE_TASK_CHANGE_ASSIGNEE => t('Changing assignee is not permitted'), + self::RULE_TASK_UPDATE_ASSIGNED => t('Update only assigned tasks'), ); } |