public class AccessControlPropertyUtil extends Object
Constructor and Description |
---|
AccessControlPropertyUtil() |
Modifier and Type | Method and Description |
---|---|
static info.magnolia.cms.security.Permission |
findBestMatchingPermissions(List<info.magnolia.cms.security.Permission> permissions,
String path)
Return the best matching permission that matches with path and has equal or greater rights than the ones being granted.
|
static Set<info.magnolia.cms.security.Permission> |
findViolatedPermissions(List<info.magnolia.cms.security.Permission> ownPerms,
String grantPath,
long grantPermValue)
Find potential violating permissions, i.e.
|
public static info.magnolia.cms.security.Permission findBestMatchingPermissions(List<info.magnolia.cms.security.Permission> permissions, String path)
public static Set<info.magnolia.cms.security.Permission> findViolatedPermissions(List<info.magnolia.cms.security.Permission> ownPerms, String grantPath, long grantPermValue)
Copyright © 2021 Magnolia International Ltd.. All rights reserved.