When creating a new project, have the possibility to select another project to duplicate
This commit is contained in:
@@ -128,8 +128,7 @@ class AuthenticationProvider implements ServiceProviderInterface
|
||||
$acl->add('Gantt', array('projects', 'saveProjectDate'), Role::APP_MANAGER);
|
||||
$acl->add('Group', '*', Role::APP_ADMIN);
|
||||
$acl->add('Link', '*', Role::APP_ADMIN);
|
||||
$acl->add('Project', array('users', 'allowEverybody', 'allow', 'role', 'revoke', 'create'), Role::APP_MANAGER);
|
||||
$acl->add('ProjectPermission', '*', Role::APP_USER);
|
||||
$acl->add('ProjectCreation', 'create', Role::APP_MANAGER);
|
||||
$acl->add('Projectuser', '*', Role::APP_MANAGER);
|
||||
$acl->add('Twofactor', 'disable', Role::APP_ADMIN);
|
||||
$acl->add('UserImport', '*', Role::APP_ADMIN);
|
||||
|
||||
@@ -43,10 +43,12 @@ class RouteProvider implements ServiceProviderInterface
|
||||
$container['route']->addRoute('search', 'search', 'index');
|
||||
$container['route']->addRoute('search/:search', 'search', 'index');
|
||||
|
||||
// ProjectCreation routes
|
||||
$container['route']->addRoute('project/create', 'ProjectCreation', 'create');
|
||||
$container['route']->addRoute('project/create/private', 'ProjectCreation', 'createPrivate');
|
||||
|
||||
// Project routes
|
||||
$container['route']->addRoute('projects', 'project', 'index');
|
||||
$container['route']->addRoute('project/create', 'project', 'create');
|
||||
$container['route']->addRoute('project/create/private', 'project', 'createPrivate');
|
||||
$container['route']->addRoute('project/:project_id', 'project', 'show');
|
||||
$container['route']->addRoute('p/:project_id', 'project', 'show');
|
||||
$container['route']->addRoute('project/:project_id/customer-filter', 'customfilter', 'index');
|
||||
|
||||
Reference in New Issue
Block a user