|Anonymous | Login | Signup for a new account||2020-09-21 16:06 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004062||TestLink||Users and Rights||public||2010-11-29 16:31||2011-07-02 13:48|
|Product Version||1.9 (Prague)|
|Fixed in Version||1.9.3 (2011 Q3 - bug fixing)|
|Summary||0004062: General user rights overide user rigths at test plan level (after migration from 1.8.5 to 1.9.x)|
|Description||User rights at user level overide the rights setted at test plan level.|
I just setted no rights for some users in order to activate specific access level only on some test plan.
Even givin the admin role on these test plans they still have no menu.
User rights at test project level works as expected.
|Steps To Reproduce||Assign to a user a role|
Assign a different role in a specific test plan
verify if the options in the specific test plan match the setting
|Tags||No tags attached.|
|QA Team - Task Workflow Status|
|Attached Files|| testlink_1-8-5.sql.zip [^] (6,086 bytes) 2011-03-25 16:25|
testlink.sql.zip [^] (6,833 bytes) 2011-03-25 16:25
1. please give detailed steps to reproduce (i.e. what you have done).
2. using admin role on Test Plan is not a good idea.
More detailed steps:
Beeing more practical:
1) I have a user John Doe to which I assign the role <no rights>
2) Then I assign "senior tester" role to John Doe in a specific test paln "regression tests"
3) Entering with the user John Doe I expect to have access as "senior tester" only to "regression tests" test plan. But Instead I have <no rights> to all test plans included "regression tests"
I think that testlink "see" in some way that the user has a different access level to the "regression tests" test plan since is the only one that appear in the dropdown menu.
As side note the previous version 1.8.5 of test link was working as expected, my 1.9.0 installation is an upgrade.
I was using this kind of configuration in the 1.8.5, it stopped to work after the upgrade.
|Same for our installation (upgrade from 1.8.5): the default role in user information overide the rights set inside a test project|
|Please provide you db zipped email@example.com|
I see the same problem after upgrading from 1.8.5 to 1.9.1. It worked with 1.8.5 and is broken now.
I can't provide the db as it contains confidential information. But I can look into the db if it helps.
unfortunatelly without db is near impossible to debug this issue.
you can scramble all confidential data and send the db.
I've created a nearly empty database with 1.8.5. and moved it to 1.9.1.
User tester (pwd: tester) has project right tester. For myPlan I assigned leader rights to him.
In the 1.8.5 db "tester" can add test cases to test plan "myPlan". In the 1.9.1 db he can't.
here code that fix this issue:
please get it, test and give us feedback
Tested the fix with the uploaded DB. Fix is working!
|2010-11-29 16:firstname.lastname@example.org||New Issue|
|2010-11-29 19:28||fman||Note Added: 0012748|
|2010-11-30 10:email@example.com||Note Added: 0012765|
|2010-11-30 12:07||alenart||Note Added: 0012767|
|2010-11-30 13:10||fman||Note Added: 0012769|
|2011-03-21 11:36||JensFF||Note Added: 0014196|
|2011-03-21 19:14||fman||Note Added: 0014199|
|2011-03-21 19:31||fman||Summary||General user rights overide user rigths at test plan level => General user rights overide user rigths at test plan level (after migration from 1.8.5 to 1.9.x)|
|2011-03-25 16:25||JensFF||File Added: testlink_1-8-5.sql.zip|
|2011-03-25 16:25||JensFF||File Added: testlink.sql.zip|
|2011-03-25 16:28||JensFF||Note Added: 0014284|
|2011-03-25 22:11||fman||Note Added: 0014286|
|2011-03-25 22:16||fman||Assigned To||=> fman|
|2011-03-25 22:16||fman||Status||new => feedback|
|2011-03-29 16:17||JensFF||Note Added: 0014352|
|2011-03-29 16:34||fman||Status||feedback => resolved|
|2011-03-29 16:34||fman||Fixed in Version||=> 1.9.3 (2011 Q3 - bug fixing)|
|2011-03-29 16:34||fman||Resolution||open => fixed|
|2011-03-29 16:35||fman||Relationship added||child of 0004337|
|2011-07-02 13:48||fman||Note Added: 0015409|
|2011-07-02 13:48||fman||Status||resolved => closed|
|Copyright © 2000 - 2020 MantisBT Team|