11-27-2008 06:00 AM
space.setPermission("Consumer", "abc");
abc being one of the users that I have defined11-27-2008 07:11 AM
11-27-2008 08:37 AM
11-27-2008 09:04 AM
if (permissionsToSetOnCreate != null)
{
for (String user : permissionsToSetOnCreate.keySet())
{
Set<String> set = permissionsToSetOnCreate.get(user);
if (set != null)
{
for (String permission : set)
{
serviceRegistry.getPermissionService().setPermission(homeFolder.getNodeRef(), user,
permission, true);
}
}
}
}
<property name="userPermissions">
<map>
<entry key="your group here">
<set>
<value>Consumer</value>
</set>
</entry>
</map>
</property>
11-27-2008 12:12 PM
<property name="userPermissions">
<map>
<entry key="GROUP_pruebas">
<set>
<value>Consumer</value>
</set>
</entry>
</map>
</property>
However, that role/permission never gets assigned to the new user's folder. There must be some setting in some other file that prevents this change from taking place, but I'm clueless.<home-space-permission>Consumer</home-space-permission>
to <home-space-permission></home-space-permission>
, but I would expect authentication-services-context.xml to override web-client-config-custom.xmlTags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.