-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Authorization with owner policies via groups does not work with REST auth enabled #8781
Comments
Can you share the the policy configuration? |
@RyanHolstien yes, fetched the policy via graphql and looks like this. Does this help?
|
Yes! Thank you, will reproduce and try to fix the issue. |
Great thanks. Need to add we have set |
Hi, I think I also encountered the same issue which blocked our work, I have already raised a PR with the fix. Thanks, |
Describe the bug
We are currently running into an issue with policies for dataset owners and
METADATA_SERVICE_AUTH
enabled where the indirect membership via groups seems not to be resolved correctly and therefore the user is not able to view the dataset details.The setup looks like the following:
METADATA_SERVICE_AUTH
in our deploymentNow if the user T wants to access the entity he gets a 500 in the UI and gets no details as he has no permissions to view the asset.
In the GMS backend we get following error messages (just an extract of the most relevant lines):
Things I tried:
view profile
andview usage
but it does not make a differenceMETADATA_SERVICE_AUTH
it worksTo Reproduce
Steps to reproduce the behavior:
see description of setup above
Expected behavior
I would expect that the authorization module would resolve the group permissions of the actor and allow the user to access the dataset details.
Or if he does not have the privileges to see usage stats they are not fetched from the backend and greyed out.
Versions
The text was updated successfully, but these errors were encountered: