Merge pull request #2765 from influxdb/beckettsean-queriesMD-2
updating Users and perms on QUERIES.mdpull/3150/head
commit
167dc49789
10
QUERIES.md
10
QUERIES.md
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue