¿Cómo es que este problema no lo tienen muchas empresas? El cambio a Share es casi obligado, me está extrañando mucho no encontrar comentarios por la red.
Por lo que respecta a la seguridad, he probado a mover espacios enteros con permisos hechos en Explorer a un Site, y he visto que no se han modificado.
// define the names of source and target group
var nameSourcegroup = 'EVERYONE';
var nameTargetgroup = 'ALLUSERS';
// get the source group *PROBLEM HERE*
var groupSource = people.getGroup('GROUP_' + nameSourcegroup);
if (groupSource) {
// get the members of the source group
var membersSourcegroup = people.getMembers(groupSource);
if (membersSourcegroup) {
// get the target group
var groupTarget = people.getGroup('GROUP_' + nameTargetgroup);
// if not existent, create the target group
if (!groupTarget) {
groupTarget = people.createGroup(nameTargetgroup);
};
if (groupTarget) {
// loop over all members of the source group and add them to the target group
for(var i = 0; i < membersSourcegroup.length; i++) {
people.addAuthority(groupTarget, membersSourcegroup[i]);
};
};
};
};
//obtienes todos los usuarios
var foundUsers = search.luceneSearch("QNAME:\"cm:person\"");
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.