Aplaws 5.2 Object Permissions

"David Young" <[email protected]> Thu, 05 Aug 2004 10:55:44 +0100
Newsgroups gmane.linux.redhat.ccm.general
Message-ID <[email protected]>
Hi,

Is there anyway of preventing a Group object from being deleted by
anyone (including the administrator)

I have tried the following but this does not seem to work - the admin
user (id = 23) can still delete this object using the administrator
tools.

       PermissionDescriptor perm = new PermissionDescriptor(
                       PrivilegeDescriptor.ADMIN,
                       group.getOID(),
                       new OID("com.arsdigita.kernel.User", 23));

       PermissionService.revokePermission(perm);

Is what I want possible?

Thanks

David


**********************************************************************
The information contained in this transmission may be
confidential and may also be the subject of legal
professional privilege. If you are not the intended recipient,
any use, disclosure or copying of any part of this transmission
is unauthorised. If you have received this transmission in
error, please notify the originator immediately.

www.southoxon.gov.uk
**********************************************************************


-- 
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/