Skip to content

Adding Grantor Information in sys.babelfish_schema_permissions catalog #132

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

Open
wants to merge 4 commits into
base: bbf-database-permission-view
Choose a base branch
from

Conversation

shreyeah38
Copy link

@shreyeah38 shreyeah38 commented Jun 9, 2025

Description

The following PR adds grantor information in sys.babelfish_schema_permissions catalog, addressing a current limitation in Babelfish.

The functionality is achieved by hook implementation and reversing the flow of GRANT / REVOKE statement in Babelfish. This enhancement enables users to view grantor of various permissions.

Another functionality added is the storage of database-level CONNECT permission granted to users. This PR also provides a distinction between the storage of normal permissions and permissions with grant option in sys.babelfish_schema_permissions catalog.

Part of Jira - BABEL-5690

Signed-off-by: Shreya Rai [email protected]

@shreyeah38 shreyeah38 changed the title Added full support for sys.database_permissions view Adding Grantor Information in sys.babelfish_schema_permissions catalog Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants