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/07/02 07:09:00 UTC
[jira] [Updated] (RANGER-3816) update getResourceACLs() API to handle macros in resource names
[ https://issues.apache.org/jira/browse/RANGER-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj updated RANGER-3816:
-------------------------------------
Attachment: RANGER-3816.patch
> update getResourceACLs() API to handle macros in resource names
> ---------------------------------------------------------------
>
> Key: RANGER-3816
> URL: https://issues.apache.org/jira/browse/RANGER-3816
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Reporter: Madhan Neethiraj
> Assignee: Madhan Neethiraj
> Priority: Major
> Attachments: RANGER-3816.patch
>
>
> getResourceACL() method returns all permissions specified for a given resource in Ranger policies. In case of policies with macros in resource names, like {{{}test_{USER{}}}}, {{{}/department/$\{{USER.dept{}}}}}, getResourceACLs() should return ACCESS_CONDITIONAL, since the access depends of user/user/attributes. Currently getResourceACLs() doesn't include users/groups/roles listed in such policies. This should be fixed to have these users/groups/roles as having conditional access.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)