Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanded InputConfigurator permissions checks to include Namespace.READ #1371

Merged
merged 4 commits into from Oct 4, 2019

Conversation

reggert
Copy link
Contributor

@reggert reggert commented Sep 21, 2019

Currently, InputConfigurator.validatePermissions only checks whether the user has Table.READ permission. However, access may also be allowed if the user has Namespace.READ instead. This expands the check to pass if either permission is present. This resolves #1370 .

@ctubbsii ctubbsii added this to In progress in 2.1.0 via automation Sep 23, 2019
@ctubbsii ctubbsii added this to In progress in 1.10.0 via automation Sep 23, 2019
Copy link
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I'm going to run the ITs to verify before merging, though.

@ctubbsii
Copy link
Member

When merging forward, a similar change may need to be made in the new mapreduce code.

@ctubbsii ctubbsii merged commit 375cfbc into apache:1.9 Oct 4, 2019
2.1.0 automation moved this from In progress to Done Oct 4, 2019
1.10.0 automation moved this from In progress to Done Oct 4, 2019
@ctubbsii ctubbsii added the bug This issue has been verified to be a bug. label Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue has been verified to be a bug.
Projects
No open projects
1.10.0
  
Done
2.1.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants