You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2022/06/29 20:10:00 UTC

[jira] [Updated] (RANGER-3814) IS_IN_ROLE(roleName) condition always returns false

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

Madhan Neethiraj updated RANGER-3814:
-------------------------------------
    Attachment: RANGER-3814.patch

> IS_IN_ROLE(roleName) condition always returns false
> ---------------------------------------------------
>
>                 Key: RANGER-3814
>                 URL: https://issues.apache.org/jira/browse/RANGER-3814
>             Project: Ranger
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 2.3.0
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>            Priority: Major
>         Attachments: RANGER-3814.patch
>
>
> Implementation of IS_IN_ROLE() condition uses request.userRoles to determine if the user is in the given role. However, request.userRoles is not populated with the roles for the current user; hence IS_IN_ROLE() condition fails. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)