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

Can grant permissions for non existing databases #8124

Closed
lightonflux opened this issue Mar 13, 2017 · 0 comments
Closed

Can grant permissions for non existing databases #8124

lightonflux opened this issue Mar 13, 2017 · 0 comments

Comments

@lightonflux
Copy link

lightonflux commented Mar 13, 2017

System info:

InfluxDB shell version: 1.2.0
InfluxDB version: 1.2.0
Debian 8.7

Steps to reproduce:

  1. Create user
  2. GRANT WRITE ON doesnotexist TO user
  3. SHOW GRANTS FOR user
database     privilege
--------     ---------
telegrad     NO PRIVILEGES
telegraf     WRITE
doesnotexist WRITE

Expected behavior:

Error that the DB does not exist.

Actual behavior:

Privs are granted without issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants