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

Use real SQL privileges. #2133

Merged
merged 1 commit into from
Aug 18, 2015
Merged

Use real SQL privileges. #2133

merged 1 commit into from
Aug 18, 2015

Conversation

mberhault
Copy link
Contributor

Fixes #2005

This is just plugging in real privileges and fixing the tests.
I'm going to go clean up the sql logic tests a bit as well.

Fixes #2005

This is just plugging in real privileges and fixing the tests.
I'm going to go clean up the sql logic tests a bit as well.
@tbg tbg added the PTAL label Aug 17, 2015
@mberhault
Copy link
Contributor Author

This follows the RFC except for DROP DATABASE which requires DROP on database.

This means that root is only accepted on CREATE DATABASE and where it has the right privileges (everywhere).

The RFC will be replaced by proper documentation which should be kept up-to-date with the implementation.

@mberhault
Copy link
Contributor Author

@petermattis I said I was going to enforce system privileges in this one, but it modifies a bunch more stuff, so I'm doing it in a separate PR (coming soon).

@petermattis
Copy link
Collaborator

LGTM

mberhault added a commit that referenced this pull request Aug 18, 2015
@mberhault mberhault merged commit 4a7574e into master Aug 18, 2015
@tbg tbg removed the PTAL label Aug 18, 2015
@mberhault mberhault deleted the marc/real_sql_privileges branch August 18, 2015 13:07
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.

sql: use real privileges instead of READ|WRITE
3 participants