(02-03-2019, 04:21 PM)Brandin Wrote: What page are they trying to visit? Is this a custom coded page?
Do you have any redirects written in code ON the page within things like if statements or just straight up?
Yes it is a custom coded page
it uses many require statements but no redirects as I know
Also, I don't know is it important or not I have the following error in the console for most pages
fingerprint2.js:539 Uncaught TypeError: Cannot read property 'appendChild' of undefined
at fingerprint2.js:539
Dear Brandin,
I think I know the reason but I don't know the solution.
1. My folder structure looks like this
/users/...
/usersc/...
/index.php - root project page
...
/r/reports/report_1/index.php
/r/reports/report_1/reportfile1.php
/r/reports/report_1/reportfile2.php
...
The start point for the report and the page which I set the permission is /r/reports/report_1/index.php
I've performed a small test - i created a very simple php file with userspice headers and just phpinfo() inside and set the same permission as my problem page.
/r/reports/report_1/test.php
The issue has repeated but I noticed that I was redirected from /r/reports/report_1/test.php to /r/reports/report_1/index.php.
So it looks like if the user has no access to the file he is redirected to the index.php in the same folder.
I think it is because of my Redirect After Login setting that is /index.php but I cannot change it to another page because I would like that the first page for users was the project page... I am surprised that this setting has another effect.