[
https://issues.apache.org/jira/browse/SENTRY-2021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilfred Spiegelenburg updated SENTRY-2021:
------------------------------------------
Attachment: SENTRY-2021.003.patch
> MR session ACLs in Hive binding does not handle all types of ACLs
> -----------------------------------------------------------------
>
> Key: SENTRY-2021
> URL: https://issues.apache.org/jira/browse/SENTRY-2021
> Project: Sentry
> Issue Type: Bug
> Components: Hive Binding
> Affects Versions: 1.8.0
> Reporter: Wilfred Spiegelenburg
> Attachments: SENTRY-2021.001.patch, SENTRY-2021.002.patch,
> SENTRY-2021.003.patch
>
>
> When an ACL is configured to only have groups and no users the ACL starts
> with a space.
> The ACL that is read from the config currently gets trimmed which removes the
> space and thus converts the groups into users.
> We should not trim the space from the ACL and merge the user name correctly:
> - if the ACL starts with a space just add the username to the start
> - if the ACL does not start with a space add the username separated by a comma
> The change was introduced by SENTRY-158.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)