You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2021/10/28 19:36:38 UTC
[GitHub] [phoenix] dbwong commented on a change in pull request #1340: PHOENIX-6579 ACL check doesn't honor the namespace mapping for mapped…
dbwong commented on a change in pull request #1340:
URL: https://github.com/apache/phoenix/pull/1340#discussion_r738694255
##########
File path: phoenix-core/src/main/java/org/apache/phoenix/coprocessor/PhoenixAccessController.java
##########
@@ -481,7 +481,8 @@ public void preIndexUpdate(ObserverContext<PhoenixMetaDataControllerEnvironment>
for (MasterObserver service : getAccessControllers()) {
// Use AccessControlClient API's if the accessController is an instance of org.apache.hadoop.hbase.security.access.AccessController
if (service.getClass().getName().equals(org.apache.hadoop.hbase.security.access.AccessController.class.getName())) {
- userPermissions.addAll(AccessControlClient.getUserPermissions(connection, tableName.getNameAsString()));
Review comment:
Can you explain this change a bit? This appears to be changing the user permissions where as the namespace handling appears to be in 486? Would this change I'm not too familiar with this class would this cause any change in accessibility between this patch and previously?
--
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: issues-unsubscribe@phoenix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org