Interface ServiceRestrictions

    • Field Detail

      • SA_PERMISSION

        static final String SA_PERMISSION
    • Method Detail

      • isUserOptionAllowed

        boolean isUserOptionAllowed​(@NotNull
                                    @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                    @NotNull
                                    @NotNull ServiceRestrictions.Permission permission)
      • checkAuthorizables

        boolean checkAuthorizables​(@NotNull
                                   @NotNull org.apache.sling.api.SlingHttpServletRequest request,
                                   @Nullable
                                   @Nullable String restrictions)
        Checks the restrictions for matching authorizable of the request id the restictions are 'authorizable' restrictions.
        Parameters:
        request - the current request to retrieve the current authorizable (user)
        restrictions - the restrictions pattern string to check
        Returns: