> For the complete documentation index, see [llms.txt](https://docs.subsalt.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.subsalt.io/administration/access-control-and-sharing.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
