Merge pull request #2765 from influxdb/beckettsean-queriesMD-2

updating Users and perms on QUERIES.md
pull/3150/head
Paul Dix 2015-06-25 18:28:10 -07:00
commit 167dc49789
1 changed files with 8 additions and 2 deletions

View File

@ -40,7 +40,7 @@ REVOKE <privilege> ON <db> FROM <user>
-- revoke all privileges for a DB
REVOKE ALL [PRIVILEGES] ON <db> FROM <user>
-- revoke all of user's privileges (all DBs and/or cluster admin)
-- revoke all privileges including cluster admin
REVOKE ALL [PRIVILEGES] FROM <user>
-- combine db creation with privilege assignment (user must already exist)
@ -52,7 +52,13 @@ DROP USER <name>
```
where `<privilege> := READ | WRITE | All [PRIVILEGES]`.
where `<privilege> := READ | WRITE | All `.
Authentication must be enabled in the influxdb.conf file for user permissions to be in effect.
By default, newly created users have no privileges to any databases.
Cluster administration privileges automatically grant full read and write permissions to all databases, regardless of subsequent database-specific privilege revocation statements.
# Select