Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007923TestLinkUsers and Rightspublic2017-04-17 19:252017-04-19 13:35
Reporterken lerner 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.9.15 (2015 Q4) 
Fixed in Version 
Summary0007923: Admin access, when applied to a user, does not propagate to projects.
DescriptionIf a user was created with certain access rights (lower than admin) and that user is then promoted to admin rights, admin rights are not propagated to projects.
Steps To Reproduce1. Create a user and assign to access rights lower than admin, e.g. 'guest'
2. Create a new project
3. Notice the access rights for the user on that project (guest)
4. Change the global rights for the user to 'admin'
5. Check the access rights for the user on the project.

Notice that the project retains the previous access rights 'guest' and that the project shows the rights are inherited and can not be changed.

An almost acceptable workaround is to change the global user rights from 'admin' to 'leader' and then the access rights in the project can be set to 'leader' (non-inherited). This helps but does not allow the user to obtain 'admin' rights in the project.
Additional InformationApologies, I have not tried this out in version 1.9.16.
TagsNo tags attached.
Database (MySQL,Postgres,etc)MySQL
Browser
PHP Version
TestCaseID
QA Team - Task Workflow Status
Attached Filesjpg file icon Capture.JPG [^] (9,802 bytes) 2017-04-18 18:21

- Relationships

-  Notes
(0026282)
fman (administrator)
2017-04-18 10:32
edited on: 2017-04-18 10:33

1) Please get latest stable code, do fresh install, retest & provide feedback

2) If I'm not wrong design choice was to have admin ONLY as GLOBAL role, and not be available for test projects or test plan if you want to promote a user.

(0026285)
ken lerner (reporter)
2017-04-18 18:11

Hi, I tried version 1.6 and the issue is still present. But, I do need to clarify the steps to reproduce (changed 0000003 below):

1. Create a user and assign to access rights lower than admin, e.g. 'guest'
2. Create a new project
3. Within the new project, set the user's rights to something lower than admin.
4. Change the global rights for the user to 'admin'
5. Check the access rights for the user on the project.

Notice that the project retains the previous access rights 'guest' and that the project shows the rights are inherited and can not be changed.
(0026286)
ken lerner (reporter)
2017-04-18 18:12

Sorry, tried this on version 1.9.16.
(0026287)
ken lerner (reporter)
2017-04-18 18:36

So, this creates difficulties in that as an admin, I can never change the user's account to have admin rights for the project. See the attached image which shows the pulldown is disabled. That means that the user can never be an admin for the particular project.
(0026288)
fman (administrator)
2017-04-18 20:16

No issue at all, you can create your own role with all the rights you need and do not use admin.
why do you need to have a user admin of a test project?
(0026292)
ken lerner (reporter)
2017-04-19 13:26

Thanks for the reply!

I am bringing on an additional administrator (or 2) to help with testlink. That administrator requires the ability to assign access rights to other users to various projects. When the administrator does not have rights to a project, that administrator is unable to assign access rights to other users to the project.

For example, the new administrator needs to assign user 'charles' to project 'spam' as a leader. But the administrator has no rights within the project 'spam' and is unable to add 'charles' to the project.

I suppose that there are workarounds. One workaround would be to create an additional account for the new admin to use.
(0026293)
fman (administrator)
2017-04-19 13:35

IMHO is not a workaround but the solution: you need several admins.

- Issue History
Date Modified Username Field Change
2017-04-17 19:25 ken lerner New Issue
2017-04-18 10:32 fman Note Added: 0026282
2017-04-18 10:33 fman Note Edited: 0026282 View Revisions
2017-04-18 10:33 fman Status new => feedback
2017-04-18 18:11 ken lerner Note Added: 0026285
2017-04-18 18:11 ken lerner Status feedback => new
2017-04-18 18:12 ken lerner Note Added: 0026286
2017-04-18 18:21 ken lerner File Added: Capture.JPG
2017-04-18 18:36 ken lerner Note Added: 0026287
2017-04-18 20:16 fman Note Added: 0026288
2017-04-18 20:17 fman Status new => feedback
2017-04-19 13:26 ken lerner Note Added: 0026292
2017-04-19 13:26 ken lerner Status feedback => new
2017-04-19 13:35 fman Note Added: 0026293



Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker