-
Notifications
You must be signed in to change notification settings - Fork 298
Remove CATALOG_MANAGE_CONTENT requirement from listing operations #2478
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
base: main
Are you sure you want to change the base?
Remove CATALOG_MANAGE_CONTENT requirement from listing operations #2478
Conversation
…kstart link, update quickstart.md and remove redundant binary doc
removing blank spaces.
updating the link.
removing the bash commands which are not in use.
Allow principals to list tables/namespaces/views they have access to without requiring the overly broad CATALOG_MANAGE_CONTENT permission. Fixes apache#2306
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Subham-KRLX for working on this. I think however that we need to clarify the intent of the change. See my comment here:
@@ -177,7 +177,6 @@ public class PolarisAuthorizerImpl implements PolarisAuthorizer { | |||
SUPER_PRIVILEGES.putAll( | |||
NAMESPACE_LIST, | |||
List.of( | |||
CATALOG_MANAGE_CONTENT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is effectively achieving the opposite: you are denying NAMESPACE_LIST
to principals having CATALOG_MANAGE_CONTENT
.
@@ -23,3 +23,101 @@ weight: 101 | |||
build: | |||
render: never | |||
--- | |||
|
|||
# Getting Started with Apache Polaris Binary Distribution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like an unrelated change?
Fixes #2306
Allow principals to list tables/namespaces/views they have access to without requiring the overly broad CATALOG_MANAGE_CONTENT permission.
Changes:
Testing: