Manno15 commented on PR #2215:
URL: https://github.com/apache/accumulo/pull/2215#issuecomment-1135769384

   I believe `authenticate` checks for `SystemPermission.SYSTEM.
   
   On Tue, May 24, 2022 at 5:52 AM Christopher Tubbs ***@***.***>
   wrote:
   
   > ***@***.**** commented on this pull request.
   > ------------------------------
   >
   > In
   > 
server/base/src/main/java/org/apache/accumulo/server/client/ClientServiceHandler.java
   > <https://github.com/apache/accumulo/pull/2215#discussion_r880302401>:
   >
   > > @@ -447,6 +460,83 @@ public List<TDiskUsage> getDiskUsage(Set<String> 
tables, TCredentials credential
   >      }
   >    }
   >
   > +  @Override
   > +  public List<FateTransaction> executeAdminOperation(TInfo tInfo, 
TCredentials credentials,
   > +      AdminOperation op, List<String> txids, List<String> filterStatuses)
   > +      throws ThriftSecurityException, TException {
   > +    try {
   > +      authenticate(tInfo, credentials);
   >
   > I mean SystemPermission.SYSTEM, or
   > security.canPerformSystemActions(credentials)
   >
   > —
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/accumulo/pull/2215#discussion_r880302401>, or
   > unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AHASSV5YQBPKGVR3DJ6B3X3VLSRFHANCNFSM5BDFUX4Q>
   > .
   > You are receiving this because you were mentioned.Message ID:
   > ***@***.***>
   >
   


-- 
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]

Reply via email to