Split project edition into multiple pages
This commit is contained in:
@@ -93,8 +93,9 @@ class AuthenticationProvider implements ServiceProviderInterface
|
||||
$acl->add('Export', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('File', array('screenshot', 'create', 'save', 'remove', 'confirm'), Role::PROJECT_MEMBER);
|
||||
$acl->add('Gantt', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('Project', array('share', 'integrations', 'notifications', 'edit', 'update', 'duplicate', 'disable', 'enable', 'remove'), Role::PROJECT_MANAGER);
|
||||
$acl->add('Project', array('share', 'integrations', 'notifications', 'duplicate', 'disable', 'enable', 'remove'), Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectPermission', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('ProjectEdit', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('Projectuser', '*', Role::PROJECT_MANAGER);
|
||||
$acl->add('Subtask', '*', Role::PROJECT_MEMBER);
|
||||
$acl->add('Swimlane', '*', Role::PROJECT_MANAGER);
|
||||
|
||||
@@ -52,7 +52,6 @@ class RouteProvider implements ServiceProviderInterface
|
||||
$container['route']->addRoute('project/:project_id/customer-filter', 'customfilter', 'index');
|
||||
$container['route']->addRoute('project/:project_id/share', 'project', 'share');
|
||||
$container['route']->addRoute('project/:project_id/notifications', 'project', 'notifications');
|
||||
$container['route']->addRoute('project/:project_id/edit', 'project', 'edit');
|
||||
$container['route']->addRoute('project/:project_id/integrations', 'project', 'integrations');
|
||||
$container['route']->addRoute('project/:project_id/duplicate', 'project', 'duplicate');
|
||||
$container['route']->addRoute('project/:project_id/remove', 'project', 'remove');
|
||||
@@ -61,6 +60,11 @@ class RouteProvider implements ServiceProviderInterface
|
||||
$container['route']->addRoute('project/:project_id/permissions', 'ProjectPermission', 'index');
|
||||
$container['route']->addRoute('project/:project_id/import', 'taskImport', 'step1');
|
||||
|
||||
// ProjectEdit routes
|
||||
$container['route']->addRoute('project/:project_id/edit', 'ProjectEdit', 'edit');
|
||||
$container['route']->addRoute('project/:project_id/edit/dates', 'ProjectEdit', 'dates');
|
||||
$container['route']->addRoute('project/:project_id/edit/description', 'ProjectEdit', 'description');
|
||||
|
||||
// ProjectUser routes
|
||||
$container['route']->addRoute('projects/managers/:user_id', 'projectuser', 'managers');
|
||||
$container['route']->addRoute('projects/members/:user_id', 'projectuser', 'members');
|
||||
|
||||
Reference in New Issue
Block a user