Rename ProjectPermission controller
This commit is contained in:
@@ -82,7 +82,7 @@ class AuthenticationProvider implements ServiceProviderInterface
|
||||
$acl->add('TaskFile', array('screenshot', 'create', 'save', 'remove', 'confirm'), Role::PROJECT_MEMBER);
|
||||
$acl->add('Gantt', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectViewController', array('share', 'updateSharing', 'integrations', 'updateIntegrations', 'notifications', 'updateNotifications', 'duplicate', 'doDuplication'), Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectPermission', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectPermissionController', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectEdit', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectFile', '*', Role::PROJECT_MEMBER);
|
||||
$acl->add('Projectuser', '*', Role::PROJECT_MANAGER);
|
||||
|
||||
@@ -57,7 +57,7 @@ class RouteProvider implements ServiceProviderInterface
|
||||
$container['route']->addRoute('project/:project_id/notifications', 'ProjectViewController', 'notifications');
|
||||
$container['route']->addRoute('project/:project_id/integrations', 'ProjectViewController', 'integrations');
|
||||
$container['route']->addRoute('project/:project_id/duplicate', 'ProjectViewController', 'duplicate');
|
||||
$container['route']->addRoute('project/:project_id/permissions', 'ProjectPermission', 'index');
|
||||
$container['route']->addRoute('project/:project_id/permissions', 'ProjectPermissionController', 'index');
|
||||
$container['route']->addRoute('project/:project_id/import', 'taskImport', 'step1');
|
||||
$container['route']->addRoute('project/:project_id/activity', 'activity', 'project');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user