Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, Master
-
7.0.x, 6.2.x
-
Committed
-
1
Description
Steps to reproduce
- Start a clean bundle
- Login as admin
- Create a new private page
- Create a new user
- Note that the new user is not a member of the Liferay site
- Update the log com.liferay.portal.events.ServicePreAction for warn in Server Administration->Log levels
- Logout
- Login as the new user
- User is redirected back to the private page
Actual results
A "Not found" error is shown in UI,
And the below log is printed in log.
34:20,911 WARN [http-nio-8080-exec-1][ServicePreAction:434] User 32550 is not allowed to access the private pages of group 20143
The log is not consistent with UI error.
Expected results
A "Forbidden" error message is shown in UI
Attachments
Issue Links
- relates
-
LPE-15249 Wrong error message shown when accessing a restricted page
-
- Closed
-