dlmarion commented on code in PR #93:
URL: https://github.com/apache/accumulo-access/pull/93#discussion_r2643713891
##########
core/src/main/java/org/apache/accumulo/access/AccessEvaluator.java:
##########
@@ -80,6 +80,14 @@ public sealed interface AccessEvaluator permits
AccessEvaluatorImpl, MultiAccess
*/
boolean canAccess(AccessExpression accessExpression);
+ /**
+ * @param parsedAccessExpression object resulting from call to
AccessExpression.parse. This method
+ * would be useful if passing a single AccessExpression to multiple
AccessEvaluators.
+ * @return true if the expression is visible using the authorizations
supplied at creation, false
+ * otherwise
+ */
+ boolean canAccess(ParsedAccessExpression parsedAccessExpression);
Review Comment:
Great idea, implemented in e3d24d3
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]