DataWiki knowledge permissions
DataWiki controls who can view its knowledge through two access policies. This topic explains both policies, describes what each permission type allows for DataWiki and for data queries, and shows how to view and apply for knowledge permissions.
Access policy overview
DataWiki provides two access policies for knowledge visibility: Relaxed mode (default) and Restricted mode. The same rules apply to signed-in users and Agents.
Relaxed mode (default)
Relaxed mode is the default access policy. All users and Agents under the same Alibaba Cloud account can read DataWiki knowledge. However, only platform administrators can review and publish knowledge, edit authoritative knowledge, and delete, lock, or build knowledge.
Restricted mode
Under Restricted mode, knowledge associated with database or table objects is visible only to identities that have Read (Knowledge Only) or Read (Query) permissions. For details about what each permission type allows, see Permission types. Platform administrators and Agents with the platform administrator role can still view all knowledge under this policy.
This feature is in a limited rollout. To use it, submit a ticket to request access.
Permission types
The following table describes each permission type and what it allows for DataWiki and data queries.
| Permission Type | What it allows for DataWiki and data queries |
| Read (Knowledge Only) | You can list, open, search, and ask questions about published knowledge, and submit feedback for the associated databases and tables. Feedback is submitted for review and is not published directly. This permission does not allow you to manage knowledge, such as editing, disabling, or building it. It does not allow you to run SQL queries or modify data. |
| Read (Query) | You can run SQL queries within the authorized scope. This permission also allows you to view knowledge for the associated databases and tables. Query permissions derived from data ownership also allow you to view knowledge, so data owners do not need to apply separately for Read (Knowledge Only) permissions. |
| Write (Modify) | This permission allows you to modify data only. It does not allow you to view DataWiki knowledge or query data. |
-
Read (Knowledge Only) is available only when the authorization scope is an instance, a database, or a table.
-
Instance-level authorization also covers knowledge for the databases and tables in that instance. Permission checks fall back from the table level to the database level, and then to the instance level.
View and apply for knowledge permissions
Log on to the Agent Gateway console.
-
In the left-side navigation pane, click My Permissions under Identity and Permissions to view your permissions.
-
Click Request Permission and enter the required information, including the permission type and the authorization scope that you need. For details about what each permission type allows, see Permission types.
-
Review the information and click Apply. The permissions appear in My Permissions and take effect only after the application is approved.