You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2020/09/21 07:00:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17199198#comment-17199198 ] 

Istvan Toth commented on PHOENIX-5700:
--------------------------------------

[~rajeshbabu] you have already fixed this in master, and it seems that this bug is not present in 4.x either.

If you agree that the bug is not present in 4.x, you could close this issue.

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