Skip to content

Conversation

@elianddb
Copy link
Contributor

@elianddb elianddb commented Nov 14, 2025

Fixes dolthub/dolt#10083
View rebinding no longer requires the invoker to have CREATE VIEW grant if the definer already did.

  • Introduce builder-level mockDefiner to clone the cached privilege state with explicit global grants.
  • Update resolveView to mock definer for CREATE VIEW grant since it's implicitly required to exist.

@elianddb elianddb changed the title dolthub/dolt#10083: Honor definer *privileges when rebinding views dolthub/dolt#10083: Honor *definer privileges* when rebinding views Nov 17, 2025
@elianddb elianddb changed the title dolthub/dolt#10083: Honor *definer privileges* when rebinding views dolthub/dolt#10083: Honor _definer privileges_ when rebinding views Nov 17, 2025
@elianddb elianddb changed the title dolthub/dolt#10083: Honor _definer privileges_ when rebinding views dolthub/dolt#10083: Honor *definer privileges* when rebinding views Nov 17, 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.

View SELECT requires invoker to have CREATE VIEW

2 participants