« Return to Thread: [Building Sakai] Registering new function (authz tool)

[Building Sakai] Registering new function (authz tool)

by André Zanchetta :: Rate this Message:

Reply to Author | View in Thread

Hi
I'm new here at the Sakai maillist.
I'm not sure if I'm posting the question at the right place, so if I'm making a mistake, please tell me.

With the Authz tools, I'm trying to register a new function and, after that, to allow the Student role to execute this function.

On the init() method in the ExternalLogicImpl.java, I put the 'functionManager.registerFunction("func name");' command.
The function 'func name' becames registered (it is returned by the "functionManager.getRegisteredFunctions()"), but it is not being writed at the database.
At the same way, when I get the student Role object and execute its 'allowFunction("func name")', the role gains this permission only during the execution time: it isn't added any new register at database and during the next execution, the Student Role starts without this permission.

Am I forgetting to execute any method? Am I executing these methods at wrong places...?

Once: I'm noob at these maillist. If I'm posting on the wrong place, please forgive.

Thanks.
Andrew.

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

 « Return to Thread: [Building Sakai] Registering new function (authz tool)