You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/01/25 10:36:00 UTC
[jira] [Created] (PHOENIX-5700) PhoenixAccessController does not
copy permissions from custom AccessControllers
Istvan Toth created PHOENIX-5700:
------------------------------------
Summary: PhoenixAccessController does not copy permissions from custom AccessControllers
Key: PHOENIX-5700
URL: https://issues.apache.org/jira/browse/PHOENIX-5700
Project: Phoenix
Issue Type: Bug
Reporter: Istvan Toth
PhoenixAccessController is supposed copy all permissions, either from the ACL, or from custom AccessControllers to related objects created by Phoenix. (e.g. index tables)
However, the getUserDefinedPermissions method which collects the permissions from the custom AccessControllers has a bug, where it masks the userPermissions parameter that it is supposed to collect the permissions into is shadowed, while the return value of runAsLoginUser that contains the permissions is discarded.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)