01-16-2006 07:36 AM
01-16-2006 11:01 AM
05-02-2007 08:13 PM
05-04-2007 08:42 AM
05-05-2007 11:22 AM
// Cut inheritance
permissionService.setInheritParentPermissions(nodeRef, false);
// Allow EVERYONE has CONSUMER
permissionService.setPermission(nodeRef, AuthorityType.EVERYONE
.toString(), PermissionService.CONSUMER, true);
// Allow GUEST has CONSUMER
permissionService.setPermission(nodeRef,
AuthorityType.GUEST.toString(), PermissionService.CONSUMER,
true);
// Allow USER has CONSUMER
permissionService.setPermission(nodeRef, AuthorityType.USER.toString(),
PermissionService.CONSUMER, true);
05-07-2007 01:18 PM
// Cut inheritance
permissionService.setInheritParentPermissions(nodeRef, false);
// Allow EVERYONE has CONSUMER
permissionService.setPermission(nodeRef,
PermissionService.ALL_AUTHORITIES, PermissionService.CONSUMER,
true);
// Allow GUEST has CONSUMER
permissionService.setPermission(nodeRef,
PermissionService.GUEST_AUTHORITY, PermissionService.CONSUMER,
true);
Tags
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.