Add missing subtask permissions for project viewer role
This commit is contained in:
@@ -9,6 +9,10 @@ New features:
|
|||||||
* Add configurable list of predefined subjects when sending a task or a a comment by email
|
* Add configurable list of predefined subjects when sending a task or a a comment by email
|
||||||
* Add command line argument to filter overdue notification for a given project
|
* Add command line argument to filter overdue notification for a given project
|
||||||
|
|
||||||
|
Bug fixes:
|
||||||
|
|
||||||
|
* Add missing subtask permissions for project viewer role
|
||||||
|
|
||||||
Version 1.0.44 (May 28, 2017)
|
Version 1.0.44 (May 28, 2017)
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ class AuthenticationProvider implements ServiceProviderInterface
|
|||||||
$acl->add('ProjectStatusController', '*', Role::PROJECT_MANAGER);
|
$acl->add('ProjectStatusController', '*', Role::PROJECT_MANAGER);
|
||||||
$acl->add('ProjectTagController', '*', Role::PROJECT_MANAGER);
|
$acl->add('ProjectTagController', '*', Role::PROJECT_MANAGER);
|
||||||
$acl->add('SubtaskController', '*', Role::PROJECT_MEMBER);
|
$acl->add('SubtaskController', '*', Role::PROJECT_MEMBER);
|
||||||
|
$acl->add('SubtaskConverterController', '*', Role::PROJECT_MEMBER);
|
||||||
$acl->add('SubtaskRestrictionController', '*', Role::PROJECT_MEMBER);
|
$acl->add('SubtaskRestrictionController', '*', Role::PROJECT_MEMBER);
|
||||||
$acl->add('SubtaskStatusController', '*', Role::PROJECT_MEMBER);
|
$acl->add('SubtaskStatusController', '*', Role::PROJECT_MEMBER);
|
||||||
$acl->add('SwimlaneController', '*', Role::PROJECT_MANAGER);
|
$acl->add('SwimlaneController', '*', Role::PROJECT_MANAGER);
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
'task' => $task,
|
'task' => $task,
|
||||||
'subtasks' => $subtasks,
|
'subtasks' => $subtasks,
|
||||||
'project' => $project,
|
'project' => $project,
|
||||||
'editable' => true,
|
'editable' => $this->user->hasProjectAccess('SubtaskController', 'edit', $project['id']),
|
||||||
)) ?>
|
)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
'links' => $internal_links,
|
'links' => $internal_links,
|
||||||
'project' => $project,
|
'project' => $project,
|
||||||
'link_label_list' => $link_label_list,
|
'link_label_list' => $link_label_list,
|
||||||
'editable' => true,
|
'editable' => $this->user->hasProjectAccess('TaskInternalLinkController', 'edit', $project['id']),
|
||||||
'is_public' => false,
|
'is_public' => false,
|
||||||
)) ?>
|
)) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user