Skip to content

Reports are not available for users with specific role and default role set to 'no rights'#283

Merged
fmancardi merged 2 commits intoTestLinkOpenSourceTRMS:testlink_1_9_20_fixedfrom
atisne:fix-TICKET_8961
Oct 17, 2020
Merged

Reports are not available for users with specific role and default role set to 'no rights'#283
fmancardi merged 2 commits intoTestLinkOpenSourceTRMS:testlink_1_9_20_fixedfrom
atisne:fix-TICKET_8961

Conversation

@atisne
Copy link
Copy Markdown
Contributor

@atisne atisne commented Sep 18, 2020

Hi Francisco,

This is a supplement to #278.
The reports using a call to hasRight with a context are still unreachable. With the same error:

[>>][5f648489838b2574946693][DEFAULT][/lib/results/baselinel1l2.php][20/Sep/18 09:57:29]
[20/Sep/18 09:57:29][AUDIT][u5c1097t0307lbo7iaudtktb5c][GUI - Projet ID : 57]
User 'atisne' has insufficient rights for 'any' action on 'baselinel1l2.php'! Exit forced!

Maybe, another issue with hasRight?

I pushed here the same proposition of fix as initially (the use of hasRightOnProj), if it may help you.
I tested this change fix all the reports.

Fix mantis ticket 8961

@fmancardi fmancardi merged commit bcc8407 into TestLinkOpenSourceTRMS:testlink_1_9_20_fixed Oct 17, 2020
atisne added a commit to atisne/testlink-code that referenced this pull request Jan 18, 2024
@atisne atisne deleted the fix-TICKET_8961 branch July 2, 2025 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants