Access Roles
CeresDB supports three main access roles:
READallows the user to read dataWRITEallows the user to read, write, overwrite, and delete dataADMINallows the user to manage users or permits
The required access mapping for each action is shown below
Collection
Action |
Allowed roles |
Action Level |
|---|---|---|
DELETE |
|
database |
GET |
|
database |
POST |
|
database |
PUT |
|
database |
Database
Action |
Allowed roles |
Action Level |
|---|---|---|
DELETE |
|
instance |
GET |
|
instance |
POST |
|
instance |
Permit
Action |
Allowed roles |
Action Level |
|---|---|---|
DELETE |
|
database |
GET |
|
database |
POST |
|
database |
PUT |
|
database |
Record
Action |
Allowed roles |
Action Level |
|---|---|---|
DELETE |
|
database |
GET |
|
database |
PATCH |
|
database |
POST |
|
database |
PUT |
|
database |
User
Action |
Allowed roles |
Action Level |
|---|---|---|
DELETE |
|
instance |
GET |
|
instance |
POST |
|
instance |
PUT |
|
instance |