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/10/02 08:27:00 UTC

[jira] [Resolved] (PHOENIX-5700) PhoenixAccessController does not copy permissions from custom AccessControllers

     [ https://issues.apache.org/jira/browse/PHOENIX-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Istvan Toth resolved PHOENIX-5700.
----------------------------------
    Fix Version/s: 5.1.0
       Resolution: Fixed

> 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
>            Assignee: Rajeshbabu Chintaguntla
>            Priority: Major
>             Fix For: 5.1.0
>
>
> 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)