多维表格
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.

81 lines
2.8 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 external database configuration parameters
7 months ago
- Access `Data Sources` tab in the `Base Settings`
- Click on `Connection Details` tab
- Re-configure database credentials as required
7 months ago
:::info
Please make sure database configuration parameters are valid. Any incorrect parameters could lead to schema loss!
:::
7 months ago
![edit-data-source](/img/v2/data-source/data-source-edit.png)
## Remove data source
7 months ago
- Access `Data Sources` tab in the `Base Settings`
- Click on `Delete` icon listed under `Actions` column for the data source that you wish to remove
7 months ago
![datasource unlink](/img/v2/data-source/data-source-remove.png)
:::note
Unlinking a data source will not delete the external data source. It will only remove the data source from the current project.
:::
## Data source visibility
7 months ago
- Access `Data Sources` tab in the `Base Settings`
- Toggle radio button listed under `Visibility` column for the data source that you wish to hide/un-hide
7 months ago
![datasource visibility](/img/v2/data-source/data-source-hide.png)
## UI Access Control
:::info
UI Access Control is available only in Open-Source version of NocoDB.
:::
7 months ago
Access `Data Sources` tab in the `Base Settings` to manage UI access control for the data source.
1. Click on `UI ACL` button listed under `Actions` column for the data source that you wish to manage UI access control for
2. On the UI ACL modal, you can see the list of tables available in the data source as rows & roles available as columns. Toggle checkboxes to enable/disable access to tables for specific roles.
3. Click on `Save` button to save the changes
7 months ago
![ui acl](/img/v2/data-source/data-source-uiacl.png)
## Audit logs
7 months ago
Access `Data Sources` tab in the `Base Settings` to access Audit logs for the data source.
- Click on `Default` datasource & then
- Access `Audit` tab to view the audit logs.
7 months ago
![audit](/img/v2/data-source/data-source-audit.png)
7 months ago
:::info
Audit logs are not available for external data source connections.
:::
## Relations
7 months ago
Access `Data Sources` tab in the `Base Settings` to access Relations view for the data source.
- Select the data source that you wish to access ERD (Relations view) for
- Click on `ERD` tab
7 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)