Package jetbrains.buildServer.web
Interface PermissionChecker
-
public interface PermissionChecker
Represents the simple permission checker.- Since:
- 6.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
- See Also:
WebAccessService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
checkPermissions(AuthorityHolder authorityHolder)
Checks the permissions of theauthorityHolder
, throws an exception or returnsfalse
in case of failure.
-
-
-
Method Detail
-
checkPermissions
boolean checkPermissions(@NotNull AuthorityHolder authorityHolder) throws AccessDeniedException
Checks the permissions of theauthorityHolder
, throws an exception or returnsfalse
in case of failure.- Parameters:
authorityHolder
- the authority holder- Returns:
- true if permissions are ok, false otherwise
- Throws:
AccessDeniedException
- if access is denied
-
-