# Access Control for Report

## Resource Roles for Reports

Reports are read-only documents, so there is only a view permission. Also, executing SQL and retrieving the results of the execution are determined by the report's permission, not the connection's permission.

| Role name     | Summary                                                                                   |
| ------------- | ----------------------------------------------------------------------------------------- |
| Report Viewer | Can view the report and refresh the query results if the report allows refresh execution. |

## Report Operations and Access Control Rules

| Operations                                | Required Roles |
| ----------------------------------------- | -------------- |
| <p>View report contents</p><p>Comment</p> | Report Viewer  |

Operations related to publishing a report are influenced by the access scope of the original notebook from which the report is created.

<table data-full-width="true"><thead><tr><th>Operations</th><th>scope: Workspace</th><th>scope: Teamspace</th><th>scope: Private</th><th>scope: Shared</th></tr></thead><tbody><tr><td><p>Publish reports</p><p>Change permissions of reports</p></td><td>"Workspace Editor"<br>AND "Connection User" *</td><td>"Teamspace Editor"<br>AND "Connection User" *</td><td>"Workspace Editor"<br>AND "Connection User" *</td><td>N/A</td></tr><tr><td>Delete reports.</td><td>Workspace Editor</td><td>Teamspace Editor</td><td>Workspace Editor</td><td>N/A</td></tr><tr><td>Edit report settings.</td><td>Workspace Editor</td><td>Teamspace Editor</td><td>Workspace Editor</td><td>N/A</td></tr></tbody></table>

\*: The `Connection User` role is required for all connections within the publishing pages of the report.


---

# 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.codatum.com/access-control/access-control-for-resources/access-control-for-report.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.
