[Building Sakai] Accessing site membership details via Entity Broker
Daniel Robinson
d.b.robinson at lancaster.ac.uk
Mon Jul 26 05:03:49 PDT 2010
Hi Sakai Developers,
We're currently in the process of rewriting the Roster tool using
JavaScript and TrimPath.
In order to get site membership details (user display name, user email
etc.), we've used the following entity broker method:
/direct/membership/site.json?siteId=<siteId>
However, this method generates a security exception when the current
user doesn't have the necessary permissions. Other EB methods, such as
this method of retrieving by group, also generate the same security
exception:
/direct/membership/group/<groupdId>.json
The current Roster tool uses the sections API
(org.sakaiproject.section.api) to retrieve the site membership details
it requires (which are blocked by EB), but the sections API doesn't
appear to have an entity provider.
Does anyone know a way around this or an alternative method of
accessing site membership details via EB?
Best wishes,
Daniel
More information about the sakai-dev
mailing list