DPCalendar, the Joomla event calendar, uses Joomla's access control (ACL) feature for calendars and events. Here we will provide instructions on how to set ACL permissions in DPCalendar. For a more detailed explanation of Joomla's ACL mechanism, please search the internet or read this article as a starting point.
Basically we distinguish between who can see what and who can do what. The following two terms are used in this document.
Before you set up your groups, you must think through what calendars you have, the people that you will be able to view, add, delete, edit, edit own, edit state, and attend events. With a pencil and paper write down your calendars and then how many different groups of people you will need for each calendar. Most people will have one group that can view the calendar, this might be public or a new group (which you will create). A simple calendar will have Public for viewing and Registered for adding, editing, and deleting and such. Once your groups are identified you can add your users to each group.
In the backend of Joomla select the menu item - Users > Groups. You will see a hierarchy of Users starting with Public and climbing to Administer and Publisher. There is also a group for Super User. Depending on your needs, you might use these groups or you may create your own group. It is important to notice the hierarchy. If something is public, everyone can see it, but if it is registered, public cannot see it. Make sure when you create your own group that you put it in the proper spot in the hierarchy.
Access control defines who can see what in Joomla. It can be set per calendars and/or events. DPCalendar has two different access controls defined by two settings. The Access property defines who can see the whole calendar or the event and the Access Content property defines who can see the event details. If a user has no right (access) to see the content of an event, they will see Free/Busy placeholder text instead. This means you can show the visitor that you are doing something, but not what.
In the DPCalendar component > Calendars you should see to the right of the calendar name the access level of the calendar, public is typical. The default setting is inherited from the goobal default access level setting in the Joomla configuration. To change the access level, you need to edit the calendar or event and look for the Access dropdown. The same applies for an event. Additionally the event has the access content setting which defines who can see the event details.
It is also possible to set in the DPCalendar option the default access level per event, means when a user is creating an event, the event will have a predefined value instead the one from the global Joomla configuration.
If you are using a plugin to get your events from an external system like Google calendar or iCloud, you can define per calendar who can see the events and who can see the content.
Permissions do define who can modify the events or do other actions like book an event or invite others to an invent. The component inherits the permissions from the global Joomla configuration and every calendar in DPCalendar inherits from the component permission. DPCalendar supports the following permissions:
In the DPCalendar component you may select the Options button > Permissions tab. The settings in here are the default settings for all of your calendars. Set these for your most basic calendar settings. In the next item below you will see how to edit each calendar individually. If you have a few calendars you may only have to edit in this Permission tab. You can define who can access DPCalendar Joomla calendar, who can change the options and who can edit events and calendars. Normally, Public viewers can only view the calendars. In some cases you might want users to be able to create events or book an event. In these cases you must change the selections to allow them.
Some users may have several calendars that have different permissions on a calendar by calendar basis. The calendar permissions override the component permissions on a per-calendar basis. This means that they inherit the permissions from the component permissions initially, but can be changed later here.
In the component, click on your calendar to open it, now you should see a tab Permissions. Here you can set your permissions for this calendar only.
Comments (0)