Rename File controller to TaskFile
This commit is contained in:
@@ -76,7 +76,7 @@ class AuthenticationProvider implements ServiceProviderInterface
|
||||
$acl->add('Comment', '*', Role::PROJECT_MEMBER);
|
||||
$acl->add('Customfilter', '*', Role::PROJECT_MEMBER);
|
||||
$acl->add('Export', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('File', array('screenshot', 'create', 'save', 'remove', 'confirm'), Role::PROJECT_MEMBER);
|
||||
$acl->add('TaskFile', array('screenshot', 'create', 'save', 'remove', 'confirm'), Role::PROJECT_MEMBER);
|
||||
$acl->add('Gantt', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('Project', array('share', 'integrations', 'notifications', 'duplicate', 'disable', 'enable', 'remove'), Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectPermission', '*', Role::PROJECT_MANAGER);
|
||||
|
||||
@@ -94,8 +94,6 @@ class RouteProvider implements ServiceProviderInterface
|
||||
$container['route']->addRoute('public/task/:task_id/:token', 'task', 'readonly');
|
||||
|
||||
$container['route']->addRoute('project/:project_id/task/:task_id/activity', 'activity', 'task');
|
||||
$container['route']->addRoute('project/:project_id/task/:task_id/screenshot', 'file', 'screenshot');
|
||||
$container['route']->addRoute('project/:project_id/task/:task_id/upload', 'file', 'create');
|
||||
$container['route']->addRoute('project/:project_id/task/:task_id/transitions', 'task', 'transitions');
|
||||
$container['route']->addRoute('project/:project_id/task/:task_id/analytics', 'task', 'analytics');
|
||||
$container['route']->addRoute('project/:project_id/task/:task_id/subtasks', 'subtask', 'show');
|
||||
|
||||
Reference in New Issue
Block a user