Is it possible to create a non-admin user who can't delete data in influxdb?
I would like to create a user who can read/write (query/insert) data but not delete what has already been inserted.
According to what I can see in the official docs, I don't think I can. Is that correct? Or is there a sneaky workaround?
Non-admin users
Non-admin users can have one of the following three privileges per database:
*READ
◦WRITE
◦ALL
(bothREAD
andWRITE
access)
READ
,WRITE
, andALL
privileges are controlled per user per database. A new non-admin user has no access to any database until they are specifically granted privileges to a database by an admin user.
GRANT
READ
,WRITE
orALL
database privileges to an existing user:GRANT [READ,WRITE,ALL] ON <database_name> TO <username>