You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/10/05 20:40:00 UTC

[GitHub] [accumulo] ctubbsii commented on a diff in pull request #2994: Missing permission checks #2

ctubbsii commented on code in PR #2994:
URL: https://github.com/apache/accumulo/pull/2994#discussion_r988333995


##########
test/src/main/java/org/apache/accumulo/test/NamespacesIT.java:
##########
@@ -755,6 +755,7 @@ public void testPermissions() throws Exception {
 
       loginAs(root);
       c.securityOperations().grantNamespacePermission(u1, n1, NamespacePermission.ALTER_TABLE);
+      c.securityOperations().grantTablePermission(u1, t3, TablePermission.READ);
       loginAs(user1);
       user1Con.tableOperations().setProperty(t3, Property.TABLE_FILE_MAX.getKey(), "42");

Review Comment:
   SystemPermission.SYSTEM is the equivalent to the ALTER versions, so that makes sense.



-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org