Question

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

Était-ce utile?

La 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

Autres conseils

You can create 2 roles 1 for teachers and 1 for students and associate them to respective user group from Control Panel Group Management option.. So user in respective groups will get there appropriate roles. you can add respective permission of add / update / delete for teachers role from Control Panel > Roles > Define Permissions > Select Calendar portlet and select appropriate permission.. similarly for students to just give view right.

You can go through Roles & Permission assignment in Liferay administration guide. and how to associate role to user group..

http://www.liferay.com/documentation/liferay-portal/6.2/user-guide

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top