Package ubic.gemma.persistence.util
Class SecurityUtils
- java.lang.Object
-
- ubic.gemma.persistence.util.SecurityUtils
-
public class SecurityUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description SecurityUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean[]
getPermissions(gemma.gsec.acl.domain.AclObjectIdentity aoi)
Checks ACL related properties from the AclObjectIdentity.
-
-
-
Method Detail
-
getPermissions
public static boolean[] getPermissions(gemma.gsec.acl.domain.AclObjectIdentity aoi)
Checks ACL related properties from the AclObjectIdentity. Some of the code is adapted fromSecurityUtil
, but allows usage without an Acl object.- Parameters:
aoi
- the acl object identity of an object whose permissions are to be checked.- Returns:
- an array of booleans that represent permissions of currently logged in user as follows:
- is object public
- can user write to object
- is object shared
-
-