[Building Sakai] Calendar changes for parent sites to see child site without the user belonging to the child sites.

Jaques Smith jaques at psybergate.co.za
Fri Mar 4 03:20:09 PST 2011


Hi Steve,

There is no negitive impact on performance. Let me explain. If the user was a member of PARENT > CHILD > GRANDCHILD and the CHILD and GRANDCHILD site calendars was merged to the PARENT calendar. The user will come in and see all the events for the 3 sites. To do this the process looks to gets all the merged sites and it does a check to see if the user is a member of those sites.

With the change (if that premission is set) the user does not have to be a member of the CHILD and GRANDCHILD sites, the process still need to retrieve the events from the sites, but it does not need to check whether the user is a member of those sites, so it actually does a little less work.

Jaques

From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com]
Sent: 04 March 2011 12:43 PM
To: Jaques Smith
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Calendar changes for parent sites to see child site without the user belonging to the child sites.

Hi Jaques,

This sounds great.
Do you have any metrics on any performance impact? Is there a JIRA for this?

cheers,
Steve

On 04/03/2011, at 9:06 PM, Jaques Smith wrote:


Hi All,

We have a client that needed some changes to the Calendar tool. Below is a description of the change. If anybody is interested in this please let me know.

Changes to Sakai Calendar Tool:

Issue: Certain users belong to a parent worksite, but do not belong to any child sites. These users must have access to all Calendars that have been merged to the parent site.

The Calendar tool will only display Calendars to the user who belongs to both the parent worksite and the merged worksite. In other words, in order to see all calendar events in a parent/child worksite hierarchy, it is necessary for the user to have access rights to all worksites in the hierarchy. For example: a user who belongs to PARENT site only, will not see merged events from CHILD site, or GRANDCHILD site.

Solution: Code changes have been made to enable a user to view all calendars that have been merged to a parent worksite to which he belongs. Example: For sites PARENT -> CHILD -> GRANDCHILD. If the calendars in CHILD and GRANDCHILD is merged PARENT, a user who only belongs to PARENT will be able to see merged calendars from all child sites, without belonging to the sites.

Description of Change:

 *   A new permission was added to the calendar tool: "View all merged calendars, regardless of user privileges."
 *   When the permission is activated on the parent worksite, the users is allowed to view all calendars that are merged to the current worksite.
 *   All users who belong to the parent worksite will be able to view all calendars merged to it. The nature of the change makes it possible for users to view events in worksites to which they do not belong, so before setting this permission be aware of the implications.

This change was done for Sakai 2.7.0 and 2.7.1.

Jaques

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110304/460e3cf7/attachment.html 


More information about the sakai-dev mailing list