Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008881TestLinkRequirement Managementpublic2020-03-11 17:162020-04-08 17:10
Reporteratisne 
Assigned Tofman 
PriorityurgentSeveritymajorReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version1.9.20 
Fixed in Version 
Summary0008881: Requirements no more available - user WITH SPECIFIC Role on TestProject
DescriptionAs a project leader, I can see all requirement menus on the desktop but I cannot get the requirement management page. I stay on the Desktop.

On the top toolbar, I can see only two icons : Desktop and Test Specification.
Steps To Reproduce1- Create a new project activating the requirements management. (TPRJ00)
2- Assign the leader role to a user U in test project TPRJ00
3- Connect to Testlink with the user U
4- Click on the menu 'Requirement specification'
-> We stay on the desktop
Additional Information[>>][5e691592892a3831026323][DEFAULT][/lib/requirements/reqOverview.php][20/Mar/11 16:45:06]
        [20/Mar/11 16:45:06][AUDIT][ji9604b1eg17ab6ifggqiuegq1][GUI - Test Project ID : 1]
                User 'david' has insufficient rights for 'any' action on 'reqOverview.php'! Exit forced!

I check (in DB):
  - the role leader (9) has the right mgt_view_req (10).
  - the user U has the role leader on the project

Tested using the branch testlink_1_9_20_fixed
TagsNo tags attached.
Database (MySQL,Postgres,etc)Postgresql 9.2
Browser
PHP Version
TestCaseID
QA Team - Task Workflow StatusTBD
Attached Filespng file icon Screenshot_2020-03-16 TestLink 1 9 20 [DEV].png [^] (64,231 bytes) 2020-03-16 11:44


png file icon Screenshot 2020-03-18 at 14.29.10.png [^] (57,729 bytes) 2020-03-18 13:38


png file icon Screenshot 2020-03-18 at 14.33.26.png [^] (48,840 bytes) 2020-03-18 13:41

- Relationships
related to 0008886resolvedfman Unable to access Builds and cannot assign execution with Leader Role 

-  Notes
(0029536)
fman (administrator)
2020-03-12 09:43

Hi
this is not a NEW issue.
Reason: checkRights() is done on SYSTEM WIDE role

Fixing will take time => use a WORKAROUND -> promote user with SYSTEM WIDE role
(0029537)
fman (administrator)
2020-03-12 10:06

Well it was faster than expected
please test it
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/71af9949d6d8d3d17deb1cdcdb73e1070f2003af [^]
(0029539)
atisne (reporter)
2020-03-13 13:32

Hi Francisco,

It's better since I can access the requirements screens.
But, I still only see Desktop and Test Specification icons in the top toolbar.

I also noticed that, on a new project, as a test leader, after creating a TC and a TP, on the desktop, I don't see some menus : Milestones, Test cases assigned to me, Add/remove Platforms, Set urgent tests, ... Possibly due to the same issue.

I can see all of this when I connect as site admin.
(0029540)
fman (administrator)
2020-03-13 19:34

Hi
please try this
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/42791d8fdf9740eea1fc867ffaeaeedac5345747 [^]
(0029543)
atisne (reporter)
2020-03-16 09:57

No improvement with this commit :-(

Still only two icons in the toolbar and missing menus on the desktop.
(0029544)
fman (administrator)
2020-03-16 10:46

Please can you provide the image, and detailed steps
(0029545)
atisne (reporter)
2020-03-16 11:44

I install Testlink from github@testlink_1_9_20_fixed. I use the Dockerfile, provided in sources, with minor adjustments. But I think it doesn't matter the way to install. I use mysql DB.
I create a local user atisne.
With the admin user, I create a new project (activating requirements) and grant role 'leader' to the user atisne on this project.
Then, I log in with the user atisne.
I can see only two buttons in the toolbar ('reports' come later).
I create a requirement and a test case.
I create a test plan.
Then, some menus naturally appear. But, as reported, some others are missing. The report button appears but the requirement one is still missing.
Please see the screenshot attached.
(0029546)
fman (administrator)
2020-03-18 13:30

Please explain what does mean: minor adjustments
(0029547)
fman (administrator)
2020-03-18 13:33
edited on: 2020-03-18 13:38

1 - create a local user atisne, role guest
2 - create Test project PUBLIC and ACTIVE, with req enabled
3 - grant role 'leader' to the user atisne on this project.
4 - log in with the user atisne.

(0029548)
fman (administrator)
2020-03-18 13:42
edited on: 2020-03-18 13:44

The only issue I see and is IMHO less that minor, is that the menu bar where the icons are displayed do not display all icons.
But I can access the features using the 'desktop'

I'm using latest code present in testlink_1_9_20_fixed branch

(0029556)
cyuste (reporter)
2020-03-30 11:20

Hello,
I was browsing tickets before reporting that the execute button in the icon top menu is not available if the user has not rights for it in the global role.
So, this is known and open yet, right? Is this ticket the correct one to track this bug?
Thanks!
(0029573)
atisne (reporter)
2020-04-08 08:44

@fman I tested using the branch testlink_1_9_20_fixed (@34cc7e0bd703e3e172051e570986dee7ebbd9536)

I understood my mistake about the gap concerning the menus: I use a leader role with more privileges than the default.

But I confirm that the icons 'Requirements' and 'Test execution' are missing in the top tool bar.
(0029574)
fman (administrator)
2020-04-08 09:03

Because all my efforts are to work on a completely new UX,that will on 2.0.0, this issue will not be fixed
(0029575)
atisne (reporter)
2020-04-08 14:45

Maybe you can just integrate this fix https://github.com/TestLinkOpenSourceTRMS/testlink-code/pull/260 [^]
It's ok for me.
(0029577)
fman (administrator)
2020-04-08 17:10

hi, thanks, going to see

- Issue History
Date Modified Username Field Change
2020-03-11 17:16 atisne New Issue
2020-03-11 19:19 fman QA Team - Task Workflow Status => TBD
2020-03-11 19:19 fman Summary Requirements no more available => Requirements no more available - user WITH SPECIFIC Role on TestProject
2020-03-11 19:19 fman Steps to Reproduce Updated View Revisions
2020-03-12 09:43 fman Note Added: 0029536
2020-03-12 10:06 fman Note Added: 0029537
2020-03-12 10:07 fman Assigned To => fman
2020-03-12 10:07 fman Status new => feedback
2020-03-13 13:32 atisne Note Added: 0029539
2020-03-13 13:32 atisne Status feedback => assigned
2020-03-13 19:34 fman Note Added: 0029540
2020-03-13 19:34 fman Status assigned => feedback
2020-03-16 09:57 atisne Note Added: 0029543
2020-03-16 09:57 atisne Status feedback => assigned
2020-03-16 10:46 fman Note Added: 0029544
2020-03-16 11:44 atisne File Added: Screenshot_2020-03-16 TestLink 1 9 20 [DEV].png
2020-03-16 11:44 atisne Note Added: 0029545
2020-03-18 13:30 fman Note Added: 0029546
2020-03-18 13:33 fman Note Added: 0029547
2020-03-18 13:36 fman Note Edited: 0029547 View Revisions
2020-03-18 13:36 fman Note Edited: 0029547 View Revisions
2020-03-18 13:38 fman File Added: Screenshot 2020-03-18 at 14.29.10.png
2020-03-18 13:38 fman Note Edited: 0029547 View Revisions
2020-03-18 13:41 fman File Added: Screenshot 2020-03-18 at 14.33.26.png
2020-03-18 13:42 fman Note Added: 0029548
2020-03-18 13:44 fman Note Edited: 0029548 View Revisions
2020-03-18 13:56 fman Status assigned => feedback
2020-03-21 18:01 fman Relationship added related to 0008886
2020-03-30 11:20 cyuste Note Added: 0029556
2020-04-08 08:44 atisne Note Added: 0029573
2020-04-08 08:44 atisne Status feedback => assigned
2020-04-08 09:03 fman Note Added: 0029574
2020-04-08 14:45 atisne Note Added: 0029575
2020-04-08 17:10 fman Note Added: 0029577



Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker