-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP FP23, 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP30, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Component/s: Calendar
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Environment
- DXP + de-13
- DXP + de-23
- REPRODUCED on 7.0.x c91652051b63c249825a2754e4a54a419dba5b28 - Mon Jul 17 19:36:07 2017 -0700
- REPRODUCED on Master 02a5802cdbf4bd383b3aae71f3752d6ebb5b84e2 - Mon Jul 17 19:46:29 2017 -0700
Steps
- Launch a clean bundle;
- Log with test@liferay.com;
- Create a user test2@liferay.com;
- Make test2@liferay.com a member of the default site;
- Configure the default site to use Single Approver (Version 1) for Calendar Event;
- Add a Calendar Portlet to the page;
- Add an event called "Unapproved" to the site's calendar;
- Logout and login in as test2@liferay.com;
- Check the calendar entries.
Expected Results
Event Unapproved should not be visible by test2@liferay.com, because Workflow for calendar events is enabled and it was not approved after being created.
Actual Results
Event Unapproved is visible by test2@liferay.com and any site member.
Additional Remarks
The issue is related with the "View Event Details" permission. If it's given to Guest, the same happens to users not logged in. The Site Members have the View Event Details by default.