MantisBT - TestLink
View Issue Details
0002417TestLinkUsers and Rightspublic2009-04-22 21:572010-10-26 07:48
JensFF 
fman 
normalfeature requestalways
closedfixed 
1.8.1 
1.9 Beta 2 
0002417: Project admin should be able to assign users to own project
A (non-inherited) project admin should be able to administrate the whole project. This means he should select the members of the project and assign their rights.
This is currently not possible which leads to much work for the 'real' admin.
The project admin should only be able to select from the existing users only but not to create new ones.
This is similar to issue 2138 but not the same.
No tags attached.
duplicate of 0001009closed fman After assigning testproject-role "admin" to user it cannot assign testproject-roles to other users 
png new_role.png (1,714) 2009-04-27 17:40
http://mantis.testlink.org/file_download.php?file_id=1006&type=bug
png

png assign_testproject_role.png (11,262) 2009-04-27 17:43
http://mantis.testlink.org/file_download.php?file_id=1007&type=bug
png

png user1_admin.png (13,151) 2009-04-27 17:45
http://mantis.testlink.org/file_download.php?file_id=1008&type=bug
png

png only_testproject_for_user1.png (8,858) 2009-04-27 17:46
http://mantis.testlink.org/file_download.php?file_id=1009&type=bug
png
Issue History
2009-04-22 21:57JensFFNew Issue
2009-04-22 22:11mhavlatNote Added: 0006531
2009-04-22 22:11mhavlatStatusnew => feedback
2009-04-22 22:40JensFFNote Added: 0006532
2009-04-23 00:33fmanNote Added: 0006535
2009-04-23 12:46JensFFNote Added: 0006543
2009-04-23 15:03mhavlatNote Added: 0006547
2009-04-23 15:03mhavlatStatusfeedback => new
2009-04-23 15:04mhavlatSeverityminor => feature request
2009-04-23 17:18fmanNote Added: 0006551
2009-04-23 18:19mhavlatNote Added: 0006553
2009-04-24 16:50fmanNote Added: 0006572
2009-04-27 14:41fmanNote Added: 0006602
2009-04-27 14:41fmanStatusnew => assigned
2009-04-27 14:41fmanAssigned To => fman
2009-04-27 14:44fmanRelationship addedduplicate of 0001009
2009-04-27 14:58fmanStatusassigned => resolved
2009-04-27 14:58fmanFixed in Version => 1.9 (DEV)
2009-04-27 14:58fmanResolutionopen => fixed
2009-04-27 15:11mhavlatNote Added: 0006606
2009-04-27 15:11mhavlatStatusresolved => assigned
2009-04-27 16:19JensFFNote Added: 0006613
2009-04-27 17:40fmanFile Added: new_role.png
2009-04-27 17:41fmanNote Added: 0006620
2009-04-27 17:43fmanNote Edited: 0006620
2009-04-27 17:43fmanFile Added: assign_testproject_role.png
2009-04-27 17:45fmanFile Added: user1_admin.png
2009-04-27 17:46fmanFile Added: only_testproject_for_user1.png
2009-05-02 22:27fmanStatusassigned => resolved
2009-05-02 22:27fmanNote Added: 0006718
2010-05-01 20:35fmanStatusresolved => closed

Notes
(0006531)
mhavlat   
2009-04-22 22:11   
I don't understand what is wrong: assign users or create a new ones?
Reproduction scenario helps.
(0006532)
JensFF   
2009-04-22 22:40   
I want to assign users but don't have access to user management.

Scenario:
1. User admin creates new project and new users
2. User admin assign administrator right for new project to user prj-admin
3. User prj-admin assigns project specific rights to existing users

3. is not possible. I can assign test plan roles only, but need to assign project roles (for the current project only!)

Hope this helps
(0006535)
fman   
2009-04-23 00:33   
what does it means is not possible?
What happens ?
a button is missed ?
system crashes ?
(0006543)
JensFF   
2009-04-23 12:46   
This means, there is no user management available for a project admin.
(0006547)
mhavlat   
2009-04-23 15:03   
I see. The problem is admin rights for particular project only.

Regarding 1.8 - such possibility should be disabled. TL recognizes generic admin only. Users cannot be able to assign admin for particular projects.

Future - we should allow this. There could be analyse at first. We must decide which admin ability could be used. For example: create CF - no and assign CF yes; assign project rights yes but other user management - no, modify own project -yes, but readonly others, etc.
(0006551)
fman   
2009-04-23 17:18   
Solution will be creating a new role => test project admin
(0006553)
mhavlat   
2009-04-23 18:19   
I do not think. Because such user should remain guest for other projects.

Francisco, is user_role_assignment right related to both Test Plan and Project assignment?
(0006572)
fman   
2009-04-24 16:50   
@Martin:
I will give a look during this week-end
(0006602)
fman   
2009-04-27 14:41   
I've created a new right:
testproject_user_role_assignment

and added new logic that will allow testproject admin administering roles only inside his/her testproject
(0006606)
mhavlat   
2009-04-27 15:11   
I miss documentation update (reopened). Thanks. ;-)
(0006613)
JensFF   
2009-04-27 16:19   
Thanks for the fast response,
seems that this is the feature I requested.
(0006620)
fman   
2009-04-27 17:41   
(edited on: 2009-04-27 17:43)
while configuring/creating roles you will found a new role in 'Test Project' Section. (see attached image new_role').
Then if you assign admin role to a user on a test project (see attached image).

(0006718)
fman   
2009-05-02 22:27   
documentation sent to testlink.doc