Package jetbrains.buildServer.web
Interface PermissionChecker
-
public interface PermissionCheckerRepresents 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 booleancheckPermissions(AuthorityHolder authorityHolder)Checks the permissions of theauthorityHolder, throws an exception or returnsfalsein case of failure.
-
-
-
Method Detail
-
checkPermissions
boolean checkPermissions(@NotNull AuthorityHolder authorityHolder) throws AccessDeniedExceptionChecks the permissions of theauthorityHolder, throws an exception or returnsfalsein case of failure.- Parameters:
authorityHolder- the authority holder- Returns:
- true if permissions are ok, false otherwise
- Throws:
AccessDeniedException- if access is denied
-
-