Hi, Joris!
________________________________________
From: users-bounces(a)xwiki.org [users-bounces(a)xwiki.org] On Behalf Of Joris Dirks
[joris(a)user.stekje.nl]
Sent: 30 May 2012 15:03
To: XWiki Users
Subject: Re: [xwiki-users] XWiki users edition
Oh, complex question..
On 25 May 2012 18:21, <Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es> wrote:
I would like to allow an user, or a group of users A, to edit users' profiles on a per
users' group basis.
Thus given five users' groups, A, B, C, D, E, I would like to allow, for
instance,...
1. User01 to edit all groups B, D and E members users' profiles .
2. B group members, to edit users' profiles of group A members.
I'm almost sure I'm missing something obvious, but to the best of my
understanding rights management utility allows rights management on a per space and per
page basis, but it is not obvious how to manage rights as I do need to.
Rights are trusted based on XWikiRights objects instances in each "page". If it
is possible to manage access rights on spaces as a hole, or wikis in a farm, it is for
sure possible to manage users on per group basis. But I'm afraid I don't know
how.
>
> Rights are indeed set per page or space. Thus, you could give group A
> the right to edit pages (including users) in the space XWiki, as all
> users are in the space XWiki. What I normally do is group all pages in
> a space for easy access management, but from what I understood it's
> not advisable to move users to a space other than XWiki.
> Perhaps you could script something so when a user is added to group A,
> predefined rights (periodically or directly) are set for these
> users/pages.
>
> But I don't even know if there's an API call for setting access rights.
Yes, there are a big number of references both in XWiki sites and XWki e email list and
related issues in Jiri and all points to a solution based on scripting instantiating
XWiki.XWikiRights with each new page as required. But if there is a heritage from space to
document, it would be possible to have some thing similar from group to group member. But
I'm afraid this is a question for developers! A doc, a space, a user or a group all of
them are particular cases of doc holding the required instantiated objects. So, I'm
afraid my question is far beyond my own understanding about how XWiki does work!
Thanks for your time.
Ricardo
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
Saúde!
Ricardo
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada
e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a
destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta
mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es
privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es
el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o
copia de este mensaje no está autorizada.
See more languages:
http://www.sergas.es/aviso_confidencialidad.htm