多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
3.4 KiB

---
title: 'Actions on Data sources'
description: 'Learn more about actions that can be performed on data sources in NocoDB.'
tags: ['Data sources', 'UI ACL', 'Audit', 'Relations', 'Edit', 'Remove', 'Visibility']
keywords: ['NocoDB data source', 'UI ACL', 'Audit logs', 'Relations', 'Edit', 'Unlink', 'Visibility']
---
## Edit Data Source parameters
- Open [Data Sources](010.data-source-overview.md#accessing-data-sources) tab in the Base Settings homepage
- Click on the data source that you wish to edit
- Re-configure data source parameters as required. The following parameters can be edited:
1. Data source name
2. Database & Schema
3. Data source access permissions
- Click on `Submit` button to save the changes
:::note
To change database connection configuration parameters (like host, port, and such) use [Edit connection](/integrations/actions-on-connection#edit) option. Edit connection option is available only for the users with Workspace Creator+ permissions.
6 months ago
:::
6 months ago
![edit-data-source](/img/v2/data-source/data-source-edit.png)
## Remove data source
Open [Data Sources](010.data-source-overview.md#accessing-data-sources) tab in the Base Settings homepage
1. Click on Actions button (three dots) against the data source that you wish to remove
2. Select `Remove` option from the dropdown
![datasource unlink](/img/v2/data-source/data-source-remove.png)
![datasource unlink](/img/v2/data-source/data-source-remove-2.png)
:::note
Removing a data source will not delete the external data source. It will only remove the data source from the current base.
:::
## Data source visibility
- Open [Data Sources](010.data-source-overview.md#accessing-data-sources) tab in the Base Settings homepage
6 months ago
- Toggle radio button listed under `Visibility` column for the data source that you wish to hide/un-hide
![datasource visibility](/img/v2/data-source/data-source-visibility.png)
## UI Access Control
:::info
UI Access Control is available only in Open-Source version of NocoDB.
:::
Open [Data Sources](010.data-source-overview.md#accessing-data-sources) tab in the Base Settings homepage, select the data source that you wish to configure UI ACL for and follow the steps below:
1. Select `UI ACL` tab
2. You can see the list of views & tables available in the data source as rows & roles available as columns. Toggle checkboxes to enable/disable access to tables for specific roles.
6 months ago
3. Click on `Save` button to save the changes
6 months ago
![ui acl](/img/v2/data-source/data-source-uiacl.png)
## Audit logs
- Open [Data Sources](010.data-source-overview.md#accessing-data-sources) tab in the Base Settings homepage
6 months ago
- Click on `Default` datasource & then
- Access `Audit` tab to view the audit logs.
6 months ago
![audit](/img/v2/data-source/data-source-audit.png)
6 months ago
:::info
Audit logs are not available for external data source connections.
:::
## Relations
- Open [Data Sources](010.data-source-overview.md#accessing-data-sources) tab in the Base Settings homepage
6 months ago
- Select the data source that you wish to access ERD (Relations view) for
- Click on `ERD View` tab
6 months ago
![relations](/img/v2/data-source/data-source-erd.png)
[//]: # (### Junction table names within Relations)
[//]: # ()
[//]: # (- Enable `Show M2M Tables` within `Project Settings` menu)
[//]: # (- Double-click on `Show Fields` to see additional checkboxes get enabled.)
[//]: # ( - Enabling which you should be able to see junction tables and their table names.)
[//]: # ()
[//]: # (![image](/img/v2/data-source/junction-table.png))