code: public boolean isAllAuthorized(final WebContext context, final List<U> profiles) {
          for (final U profile : profiles) {
              if (!isProfileAuthorized(context, profile)) {
                  return handleError(context);
              }
          }
          return true;
      }
docs: If all profiles are authorized.
  
  @param context the web context
  @param profiles the user profiles
  @return whether all profiles are authorized