docs: private boolean authorizedPath(AuthContext context, Path path, String action) {
          Decision evaluate = context.evaluate(
                  resourceForPath(path),
                  action,
                  environmentForPath(path)
          );
          return evaluate.isAuthorized();
      }