[Using Sakai] Reals, new roles and permissions.

Mike Ozornin mike.ozornin at gmail.com
Tue Apr 28 06:32:34 PDT 2009


I have wasted a lot of time before enabled webservice login, but anyhow I
did it.

Thanks a lot, your advice was really helpful.


On Tue, Apr 28, 2009 at 2:42 PM, Steve Swinsburg <
s.swinsburg at lancaster.ac.uk> wrote:

> Hi Mike,
> There is a copyRole() web service which you can use to copy and synchronise
> roles from one site to another. I create roles in a template site, then
> iterate over the sites and copy them to each.
>
> http://confluence.sakaiproject.org/confluence/x/qoBuAQ
>
> Get the copyRole web service and put it into SakaiScript.jws, rebuild and
> redeploy the /webservices project,  then you can use the attached perl
> script to sync up the roles from the template site to each site you want.
>
>
>
> cheers,
> Steve
>
> ---
> Steve Swinsburg
> Portal Systems Developer
> Centre for e-Science
> Lancaster University
> Lancaster
> LA1 4YT
>
> email: s.swinsburg at lancaster.ac.uk
> phone: +44 (0) 1524 594870
>
> On 28/04/2009, at 9:13 AM, Mike Ozornin wrote:
>
> Hello all.
> We have in all sites two roles: access and maintain, but going to add some
> roles and some to change. How can I add the same roles to the all site,
> without creating this roles onto each of them.
> I know about !site.helper realm and tryied the next:
>  — created new role «lead tutor» with permissions onto site.helper (it
> didn't appear in the sites)
>  — I created a new role «lead tutor» onto the «Site #1», hopping that
> site.realm override it. (It didn't overrided).
>
> But when I overrided role «maintain», have created with the site — it
> worked ok.
>
> Is there any simple way to add some roles to all created sites?
>
> Thanks forward,
> Mike Ozornin.
> _______________________________________________
> sakai-user mailing list
> sakai-user at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-user
>
> TO UNSUBSCRIBE: send email to
> sakai-user-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-user/attachments/20090428/bcbdf0ae/attachment-0001.html 


More information about the sakai-user mailing list