Defect #4431
closedNon-admin user cannot create project :for revision 3174
0%
Description
Files
Related issues
Updated by Jean-Philippe Lang about 15 years ago
Can not reproduce with latest trunk.
A non admin user with "create project" permission can see the "new project" link on the project list.
Updated by Oregon State University Central Web Services almost 15 years ago
It happens when the user in the appropriate role to create a project does not belong to a project.
For example, we set the manager permission to be able to create projects and subprojects.
User foo is created, and given the role as a manager, but not assigned to a group with projects or to any project individually.
foo logs in, does not see the "New project". If foo is subsequently added to a project with a role of manager, then foo is able to create projects.
It seems if a role is given the authority to create a project, it should be independent of if they belong to a project or not.
Updated by Jean-Philippe Lang almost 15 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Oregon State University Central Web Services wrote:
It happens when the user in the appropriate role to create a project does not belong to a project.
For example, we set the manager permission to be able to create projects and subprojects.
User foo is created, and given the role as a manager, but not assigned to a group with projects or to any project individually.
A role is given to a user for a given project. So you can not give a role to a user that doesn't belong to any project.
foo logs in, does not see the "New project". If foo is subsequently added to a project with a role of manager, then foo is able to create projects.
It seems if a role is given the authority to create a project, it should be independent of if they belong to a project or not.
If you want users that doesn't belong to a project to be able to create project, you have to give the 'Create project' permission to the 'Non member' role.