Interface PermissionChecker


  • public interface PermissionChecker
    Represents the simple permission checker.
    Since:
    6.0
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    See Also:
    WebAccessService
    • Method Detail

      • checkPermissions

        boolean checkPermissions​(@NotNull
                                 AuthorityHolder authorityHolder)
                          throws AccessDeniedException
        Checks the permissions of the authorityHolder, throws an exception or returns false in case of failure.
        Parameters:
        authorityHolder - the authority holder
        Returns:
        true if permissions are ok, false otherwise
        Throws:
        AccessDeniedException - if access is denied