Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008510TestLinkAssign Test Case Executionpublic2018-12-18 13:402018-12-20 14:41
Reporterjlusson 
Assigned Tofman 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Fixed in Version 
Summary0008510: Admin user can't execute test
DescriptionSorry, but I can't reopen the 0008475 bug report.

I've tested again with a "stock" github install of testlink (1.9 branch), and the problem is still present.

The first admin is OK, but all other admins can't execute tests, I've found that $tc_exec.can_be_executed equals "0" for those users.

If I change an admin user to "senior tester", the user can execute tests. If I change the role of the user back to admin, it still works because the "test plan role" of the user is still "senior tester" instead of "<inherited> admin" (and it isn't editable).
TagsNo tags attached.
Database (MySQL,Postgres,etc)MariaDB 10.3
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Files

- Relationships

-  Notes
(0028339)
fman (administrator)
2018-12-18 16:37

I've closed because with a fresh install, I can not reproduce the issue, then I've no way to check it.

Your details now talk about test plan roles => you are not provided a clear scenario to be use to reproduce.

ATTENTION that changes in the role inheritance has been done on 1.9.18
(0028346)
jlusson (reporter)
2018-12-19 10:30

I've spend some time today to find the "problem".

On a empty testlink install:
. With the "admin" account created by TestLink, I've created a new test project,
. Home > "User Management": I've created a new user with admin role (name: testuser),
. Home > "Test Plan Management": I've created a new test plan (active & public),
. Home > "Builds / Releases": I've created a new build (active & open),
. Home > "Test specification": In the new project, I've created a new "Test Suite".
. In the "Test Suite", I've created a test case with a unique step
. In the new "Test case", I've clicked on "Add to Test Plans" and add the test case to the only available test plan
. For the "admin" user: If I go to "HOME" > "Execute Tests" and click on the only test case: I can run the test case, I've the "Notes / Description" box, smileys…
. Home > "Assign Test Case Execution", I've assigned the test case to "testuser"
. Connection with "testuser": If I go to "HOME" > "Execute Tests" and click on the only test case: I can run the test case, I've the "Notes / Description" box, smileys… => OK

BUT:
. I unset "Pulic" for the Test Plan
. Connection with "testuser": If I go to "HOME" > "Execute Tests" and click on the only test case: I cant' run the test case, I haven't the "Notes / Description" box, smileys… => KO.

So it's a problem with the "public" status, admin can't execute tests if the test plan is not public.
(0028347)
fman (administrator)
2018-12-19 11:19

Thanks for your efforts, now we have both a common ground to share and work ok.
I'me going to work on this in following days.
you will get a feedback from mantis

have a nice day
(0028357)
fman (administrator)
2018-12-19 19:27

When you create a Test Project or a Test Plan as PRIVATE, you need to add a specific role for the user on each PRIVATE TEST PLAN or TEST PROJECT, because System Wide Role i.e. the role you have assigned when you have created the user is ignored.

Is more or less the same behavior you have on MantisBT when you work with Private Projects.

Please double check your configuration, retest and provide feedback.
(0028358)
jlusson (reporter)
2018-12-20 07:28

OK, but when the user has "admin" status, we can't change the role in "Assign Test Project roles" or "Assign Test Plan roles", a light bulb say : "Global admin can not be changed".
(0028359)
fman (administrator)
2018-12-20 07:48

you can create a new YOURADMIN copying the standard admin, that must not be changed
(0028360)
jlusson (reporter)
2018-12-20 07:55

I've duplicated the admin role and indeed, it works, thanks!
(0028361)
jlusson (reporter)
2018-12-20 08:15
edited on: 2018-12-20 08:15

But now, another problem, the user is not a "real" admin anymore, if I go to "Assign Test Project roles". I get the message: "Your role configuration do not allow you Assign Roles for Test Projects"

(0028362)
fman (administrator)
2018-12-20 09:35

Create one real admin
(0028363)
jlusson (reporter)
2018-12-20 12:12

It's too bad that it's not possible. I'll use the admin user for the rights and the other admin role for other functionalities.
(0028365)
fman (administrator)
2018-12-20 14:41

This issue need to be closed because original problem has been fixed.
If you consider that a new issue exists, please create a new ticket with detailed steps to reproduce.

- Issue History
Date Modified Username Field Change
2018-12-18 13:40 jlusson New Issue
2018-12-18 16:37 fman Note Added: 0028339
2018-12-18 16:37 fman Assigned To => fman
2018-12-18 16:37 fman Status new => feedback
2018-12-19 10:30 jlusson Note Added: 0028346
2018-12-19 10:30 jlusson Status feedback => assigned
2018-12-19 11:19 fman Note Added: 0028347
2018-12-19 11:19 fman Status assigned => feedback
2018-12-19 19:27 fman Note Added: 0028357
2018-12-20 07:28 jlusson Note Added: 0028358
2018-12-20 07:28 jlusson Status feedback => assigned
2018-12-20 07:48 fman Note Added: 0028359
2018-12-20 07:55 jlusson Note Added: 0028360
2018-12-20 08:15 jlusson Note Added: 0028361
2018-12-20 08:15 jlusson Note Edited: 0028361 View Revisions
2018-12-20 09:35 fman Note Added: 0028362
2018-12-20 12:12 jlusson Note Added: 0028363
2018-12-20 14:41 fman Note Added: 0028365
2018-12-20 14:41 fman QA Team - Task Workflow Status => TBD
2018-12-20 14:41 fman Status assigned => closed
2018-12-20 14:41 fman Resolution open => no change required



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker