Re: [xwiki-users] using XWiki groups
On Fri, Apr 6, 2012 at 12:53 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. You mean extending XWiki.XWikiGroups class with a 'role' property? So when you add an user to a group you add a new XWiki.XWikiGroups object to the group's document and set the 'member' property to the user name (XWiki.Ricardo) and the 'role' property to the role the user will have in that group (e.g. 'coordinator'). This sounds good to me. Hope this helps, Marius Please, could you figure out a better solution? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] using XWiki groups
On Thu, Apr 5, 2012 at 11:53 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. Please, could you figure out a better solution? Note sure what exactly you mean by role in your use case but couldn't you achieve this with a right configuration ? I mean some group have access to some part in view, other in edit, others not at all, etc. Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] using XWiki groups
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea [mariusdumitru.flo...@xwiki.com] Sent: 06 April 2012 09:58 To: XWiki Users Subject: Re: [xwiki-users] using XWiki groups On Fri, Apr 6, 2012 at 12:53 AM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. You mean extending XWiki.XWikiGroups class with a 'role' property? So when you add an user to a group you add a new XWiki.XWikiGroups object to the group's document and set the 'member' property to the user name (XWiki.Ricardo) and the 'role' property to the role the user will have in that group (e.g. 'coordinator'). This sounds good to me. Yeap, this sounds easy and good. But IMO there is still one thing I'm not confortable with in this approach. We use, or intend to use, XWiki group concept for different real life objects. Let me give you three examples: 1. research groups (this is classical approach with a one person-one group belonging relationship) 2. research projects (the group will represent the research team); closer to research groups, but it has its own oddities and 3. scientific papers (the group will represent the paper's authorship); in this case, author order will be king. If we add a single new property to XWiki.XWikiGroups class, 'role' property, it will have different meanings and values depending of what kind of group it will represent. Won't be more advisable to create as many new properties as different meanings XWiki.XWikiGroups object instances will have? In this case, only one property will have a given value. The others will remain empty. This last fact together with the another issue: we are still using a 2.4 XE release, thus we are facing an update in the short time, make me very reluctant to extend any XWiki class. But, of course, if this is the best or the only solution, will go for it! We are thinking about a third party brand new class characterizing any group membership relation. But we have not conceptual model for this data system yet, so I can't offer an objective and independent representation about we are thinking about. Thank you so much for your help! Any idea, comment or criticism will be extremely welcome! Ricardo Hope this helps, Marius Please, could you figure out a better solution? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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
Re: [xwiki-users] using XWiki groups
Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of Thomas Mortagne [thomas.morta...@xwiki.com] Sent: 06 April 2012 10:30 To: XWiki Users Subject: Re: [xwiki-users] using XWiki groups On Thu, Apr 5, 2012 at 11:53 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. Please, could you figure out a better solution? Note sure what exactly you mean by role in your use case but couldn't you achieve this with a right configuration ? I mean some group have access to some part in view, other in edit, others not at all, etc. Thanks, Thomas! Yes, role will have practical implications that must be represented at right configuration level. As Marius said, a good example of role is that of group's coordinator. In fact we call this figure group's leader trying to fit as much as possible to the EFQM (European Foundation for Quality Management) Model. But the point now is the design a method to characterize that role each time an object become member of a given group. Later we'll have to face another issue: could we create some kind of dynamic groups based on that new 'role assignment method? I mean, could we trust some kind of rights to a virtual group integrated by all group leaders? But this is another question that probably deserve its own thread! Any idea will be welcome!!! Thanks, Ricardo Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] using XWiki groups
Hi, We found XWiki groups really useful as a metaphor for rather different types of entities. But we are facing a problem. Please, could you follow this reasoning? Given an user, let's say, USER01, she/he will belong to a given number of XWiki groups. Our doubt is, how to represent/stora the particularities of a given user when he/she is included in a given group. Let's me to describe an example. Any user in our organization could play different roles. For instance, for given set of groups he/she could play a coordinator role. But this fact won't affect /conditonate his/her roles when assigned to a different group. The only solution I could think off is to create one property per group a given user belongs to to store his/her role in this group. Please, could you figure out a better solution? Thanks for your help!!! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users