Creating user and set up full user access
Create Aidbox users and configure access policies for full resource management permissions.
Creating user resource
Aidbox user resources conforms to following schema. You can create new user as a regular resource.
User resource example
PUT /User/exampleuser
content-type: text/yaml
accept: text/yaml
email: test@example.com
password: '123456'
Aidbox stores only hash of submitted password in resource
Now user can use this email & password to log-in into Aidbox console
Setting up full user access
For this purpose you need to create AccessPolicy resource that grants full user access.
AccessPolicy resource example
PUT /AccessPolicy/allow-all
content-type: text/yaml
accept: text/yaml
engine: allow
link:
- resourceType: User
id: exampleuser
Note that allow-all AccessPolicy created in example uses engine allow, which grants full access to specified user.
If you want to set up user access more granularly, please refer to AccessPolicy documentation
Last updated: