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)