[Building Sakai] Authorization of new tools

Steve Swinsburg steve.swinsburg at gmail.com
Thu Oct 8 14:22:23 PDT 2009


Hi,

You register the new permissions with the authz.api.FunctionManager.

Rule of thumb: Don't insert anything manually into any database table  
that you don't control in your own tool. If you need to do it, there's  
an API.

cheers,
Steve

On 09/10/2009, at 1:39 AM, Hui Jin wrote:

> Hi,
>
> I'm developing a new tool in Sakai. I would like to use Sakai
> authorization for the tool so I can assign permissions to users. I  
> guess
> all the functions need to be put into table SAKAI_REALM_FUNCTION in
> order to appear in the list when we assign permissions to roles in the
> realm. But I couldn't find a tool to insert the tool function into
> SAKAI_REALM_FUNCTION. It's not good doing this manually. Can somebody
> guide me through this?
>
> Thanks,
>
> Hui
> _______________________________________________
> sakai-dev mailing list
> 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 
>  with a subject of "unsubscribe"



More information about the sakai-dev mailing list