MantisBT - TestLink
View Issue Details
0008961TestLinkUsers and Rightspublic2020-07-16 07:292020-07-25 07:46
atisne 
fman 
normalmajoralways
resolvedfixed 
1.9.20 
1.9.20_fixed 
Postgresql 9.6
TBD
0008961: Reports are not available for users with specific role and default role set to 'no rights'
A user, non site admin, cannot use the reports when the default (global) role is set to 'no rights'. When he clicks on the report button, he is redirected on the desktop screen.

It works with a default role set to 'guest'.
1- Set the default role to 'no rights' ($tlCfg->default_roleid = TL_ROLES_NO_RIGHTS; in config.inc.php)
2- Connect to Testlink with a user having the leader role on a project
3- Click on the report icon in the top menu bar
-> The report page cannot be reached. The desktop page is displayed.
It is a right issue:

[>>][5f0c1111b3db5611850731][DEFAULT][/lib/results/resultsNavigator.php][20/Jul/13 07:45:21]
        [20/Jul/13 07:45:21][AUDIT][91p6g4ip1ri43kh933j457jvm5][GUI - Projet ID : 1]
                User 'atisne' has insufficient rights for 'any' action on 'resultsNavigator.php'! Exit forced!

Same bug as 0008925 (or 0008930).
No tags attached.
Issue History
2020-07-16 07:29atisneNew Issue
2020-07-16 07:34atisneNote Added: 0029829
2020-07-25 07:46fmanNote Added: 0029839
2020-07-25 07:46fmanQA Team - Task Workflow Status => TBD
2020-07-25 07:46fmanStatusnew => resolved
2020-07-25 07:46fmanFixed in Version => 1.9.20_fixed
2020-07-25 07:46fmanResolutionopen => fixed
2020-07-25 07:46fmanAssigned To => fman

Notes
(0029829)
atisne   
2020-07-16 07:34   
Please consider the PR https://github.com/TestLinkOpenSourceTRMS/testlink-code/pull/278 [^]
(0029839)
fman   
2020-07-25 07:46   
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/3ad34cd8ad9ac8b3e0391b0fc57d431127980fbb [^]