summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-18 21:16:25 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-18 21:16:25 -0400
commit73bae9bb3425089babea5f2effe172e5a0938e2b (patch)
tree1c120b40de0434be3184b4083a8d5164748444f1 /app/ServiceProvider
parent854457baf0043b51ce9c30f36a6fecaed97cb04d (diff)
Rename controller TaskLink to TaskInternalLink
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/AuthenticationProvider.php4
-rw-r--r--app/ServiceProvider/RouteProvider.php2
2 files changed, 1 insertions, 5 deletions
diff --git a/app/ServiceProvider/AuthenticationProvider.php b/app/ServiceProvider/AuthenticationProvider.php
index 5ed28fe1..d59ffd9e 100644
--- a/app/ServiceProvider/AuthenticationProvider.php
+++ b/app/ServiceProvider/AuthenticationProvider.php
@@ -94,10 +94,8 @@ class AuthenticationProvider implements ServiceProviderInterface
$acl->add('Taskduplication', '*', Role::PROJECT_MEMBER);
$acl->add('TaskRecurrence', '*', Role::PROJECT_MEMBER);
$acl->add('TaskImport', '*', Role::PROJECT_MANAGER);
- $acl->add('Tasklink', '*', Role::PROJECT_MEMBER);
- $acl->add('Tasklink', array('show'), Role::PROJECT_VIEWER);
+ $acl->add('TaskInternalLink', '*', Role::PROJECT_MEMBER);
$acl->add('TaskExternalLink', '*', Role::PROJECT_MEMBER);
- $acl->add('TaskExternalLink', array('show'), Role::PROJECT_VIEWER);
$acl->add('Taskmodification', '*', Role::PROJECT_MEMBER);
$acl->add('Taskstatus', '*', Role::PROJECT_MEMBER);
$acl->add('UserHelper', array('mention'), Role::PROJECT_MEMBER);
diff --git a/app/ServiceProvider/RouteProvider.php b/app/ServiceProvider/RouteProvider.php
index d551f25d..0e7548d4 100644
--- a/app/ServiceProvider/RouteProvider.php
+++ b/app/ServiceProvider/RouteProvider.php
@@ -101,8 +101,6 @@ class RouteProvider implements ServiceProviderInterface
$container['route']->addRoute('project/:project_id/task/:task_id/analytics', 'task', 'analytics');
$container['route']->addRoute('project/:project_id/task/:task_id/subtasks', 'subtask', 'show');
$container['route']->addRoute('project/:project_id/task/:task_id/time-tracking', 'task', 'timetracking');
- $container['route']->addRoute('project/:project_id/task/:task_id/internal/links', 'tasklink', 'show');
- $container['route']->addRoute('project/:project_id/task/:task_id/external/links', 'TaskExternalLink', 'show');
// Exports
$container['route']->addRoute('export/tasks/:project_id', 'export', 'tasks');