# Access control and sharing

## Database access

Database access can be provided to registered users via **Databases >&#x20;*****\[your database]*****&#x20;> Permissions > Grant Access.** Depending on the role granted, the user(s) may be also need to be explicitly granted access to the tables/views associated with the database.

### Table/view access

Explicit table and view access may be granted or revoked for users. This may be done via ***\[your database] > Permissions > \[your user(s)] > Edit access***.&#x20;

## Roles

<table><thead><tr><th width="131.14373779296875">Role</th><th>Description</th></tr></thead><tbody><tr><td><strong>Guest</strong></td><td>A user with no access to databases by default. Access to databases and associated tables and views must be explicitly granted.</td></tr><tr><td><strong>User</strong></td><td>A user with <strong>read-only</strong> access to all databases by default as well as associated tables and views.</td></tr><tr><td><strong>Administrator</strong></td><td>A user that has <strong>read</strong> and <strong>write</strong> access to all databases by default and associated tables and views. Administrators can create and manage databases as well users.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.subsalt.io/administration/access-control-and-sharing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
