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 05:56:00 UTC

[jira] [Created] (RANGER-3816) update getResourceACLs() API to handle macros in resource names

Madhan Neethiraj created RANGER-3816:
----------------------------------------

             Summary: 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


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)