[Building Sakai] what is "tool.permission" in method getAuthzGroupsIsAllowed() ?
Hai Vo Thanh
v0thanhhai at yahoo.com
Thu Oct 1 16:26:43 PDT 2009
Dear all,
In the document Sakai Framework Tips > Using the AuthzGroup Service
http://confluence.sakaiproject.org/display/BOOT/Using+the+AuthzGroup+Service
there is a guide: Getting the list of sites that a user has a specific permision in. The sample code has a line:
java.util.Set authzGroupIds = authzGroupService.getAuthzGroupsIsAllowed(userId, "tool.permission", null); // (1)
Could you please explain me what is the String "tool.permission" ? Can it be replaced by another String?
The prototype of this method is:
Set getAuthzGroupsIsAllowed(String userId, String function, Collection azGroups);
* @param function
* The function to check.
I am confused about the "String function", i do not know what it really is. Please help me.
Thanks a million.
----
Vo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091001/cdaf5d2c/attachment.html
More information about the sakai-dev
mailing list