Search code examples
calendarliferayhookportletliferay-6

Restrict adding of events for calendar portlet in Liferay


Hi I need inputs on achieving the following scenario. I have two user groups "Teachers" and "Students" and I have one calendar portlet on my portal. I want to give access to only "Teachers" group to create new event/ and delete events in the calendar portlet and the students to only view the calendar. Can anyone let me know how this particular scenario be implemented ? Thanksenter image description here


Solution

  • The problem here is that calendar-portlet and calendar-entry is not the same. The calendar portlet is only "window" to all calendars that user has viewable access. However, the permission should be configured for calendars not for calendar-portlet. See the attachment:

    enter image description here