Forgot to mention that when we try to add the admins via XML-RPC to XWikiAdminGroup,
(example code below) which previously had only the user Administrator (admin) as member,
only the FIRST user gets added and the Administrator gets kicked out, so every other
XML-RPC operation we try does fail, as we get this Exception:
org.apache.xmlrpc.XmlRpcException: Failed to invoke method storeObject in class
com.xpn.xwiki.xmlrpc.XWikiXmlRpcApiImpl: [Page 'XWiki.ti' cannot be accessed]
This is perfectly normal, as our code logs into XML-RPC using the "admin" user
and suddenly it is not part of XWiki.XWikiAdminGroup :)
Thanks in advance!
-----Mensaje original-----
Also we tried to add also some users to the default (pre-created) XWiki.XWikiAdminGroup so
they can act as administrators:
XWikiObject xobjgrp = new XWikiObject();
xobjgrp.setClassName("XWiki.XWikiGroups");
xobjgrp.setPageId("XWiki.XWikiAdminGroup");
xobjgrp.setProperty("member","XWiki.username01");
rpc.storeObject(xobjgrp);
XWikiObject xobjgrp = new XWikiObject();
As before only XWiki.username02 stays as member of XWiki.XWikiAdminGroup.
*****
Este mensaje se dirige exclusivamente a su destinatario. Puede contener información
privilegiada, confidencial o legalmente protegida.
Si ha recibido este mensaje por error le rogamos que lo borre inmediatamente, así como
todas sus copias, y lo comunique al remitente.
En virtud de la legislación vigente está prohibida la utilización, divulgación copia o
impresión sin autorización.
No existe renuncia a la confidencialidad o privilegio por causa de una transmisión
errónea.
*****