View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026988||mantisbt||preferences||public||2020-05-27 04:46||2021-03-07 18:29|
|Target Version||2.25.0||Fixed in Version||2.25.0|
|Summary||0026988: issue report TOO_MANY_REDIRECTS|
There is a redirection loop at "issue report" when the default project rights have been removed for a viewer user.
|Steps To Reproduce|
I tried on my dev box, but I'm not able to reproduce the problem.
After revoking REPORTER rights on project B (step 3), in my case the user preferences still show it as the default project (i.e. not All Projects), I guess because the user still has viewer rights to project B.
Trying to report an issue at that point, displays the Choose Project page (login_select_proj_page.php), where the only select-able project is A (other available projects are listed but grayed out).
Maybe I'm missing something ?
In our configuration, we have only private projects.
OK, I didn't consider private projects. So I setup a fresh install with 2 private projects, but still can't reproduce...
Here I see that the default project is A, even though in the DB it is indeed still stored as B.
No error, issue gets created in project A, as expected.
My bad ! I forget one (again) thing in the description.
OK now I can reproduce - updated the issue's description
MantisBT: master b162f8fb
Committer: dregad Details Diff
|Fix TOO_MANY_REDIRECTS on bug_report_page.php
There is a redirection loop on bug_report_page.php, when the default
project rights have been removed for a viewer user.
|mod - bug_report_page.php||Diff File|