mirror of https://github.com/nocodb/nocodb
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.
90 lines
3.3 KiB
90 lines
3.3 KiB
12 months ago
|
---
|
||
12 months ago
|
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 logs', 'Relations', 'Edit', 'Unlink', 'Visibility']
|
||
|
keywords: ['NocoDB data source', 'UI ACL', 'Audit logs', 'Relations', 'Edit', 'Unlink', 'Visibility']
|
||
12 months ago
|
---
|
||
|
|
||
12 months ago
|
## Edit external database configuration parameters
|
||
12 months ago
|
|
||
12 months ago
|
1. Access Base context menu by clicking on the `Base` name in the left sidebar
|
||
|
2. Click on `Data Sources` tab
|
||
|
3. Click on `Edit` icon listed under `Actions` column for the data source that you wish to access ERD (Relations view) for
|
||
|
Go to `Data Sources`, click ``Edit`` icon, you can re-configure database credentials.
|
||
|
Please make sure database configuration parameters are valid. Any incorrect parameters could lead to schema loss!
|
||
12 months ago
|
|
||
12 months ago
|
![relations](/img/v2/data-source/data-source-edit.png)
|
||
12 months ago
|
|
||
12 months ago
|
![edit db config](/img/v2/data-source/edit-base.png)
|
||
12 months ago
|
|
||
12 months ago
|
## Remove data source
|
||
12 months ago
|
|
||
12 months ago
|
1. Access Base context menu by clicking on the `Base` name in the left sidebar
|
||
|
2. Click on `Data Sources` tab
|
||
12 months ago
|
3. Click on `Delete` icon listed under `Actions` column for the data source that you wish to Unlink
|
||
12 months ago
|
|
||
12 months ago
|
![datasource unlink](/img/v2/data-source/data-source-unlink.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
|
||
12 months ago
|
|
||
12 months ago
|
1. Access Base context menu by clicking on the `Base` name in the left sidebar
|
||
|
2. Click on `Data Sources` tab
|
||
12 months ago
|
3. Toggle radio button listed under `Visibility` column for the data source that you wish to hide/un-hide
|
||
12 months ago
|
|
||
12 months ago
|
![datasource visibility](/img/v2/data-source/data-source-visibility.png)
|
||
12 months ago
|
|
||
|
|
||
|
## UI Access Control
|
||
|
|
||
12 months ago
|
:::info
|
||
|
UI Access Control is available only in Open Source version of NocoDB.
|
||
|
:::
|
||
|
|
||
12 months ago
|
1. Access Base context menu by clicking on the `Base` name in the left sidebar
|
||
|
2. Click on `Data Sources` tab
|
||
|
3. Click on `UI ACL` button listed under `Actions` column for the data source that you wish to manage UI access control for
|
||
|
4. 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.
|
||
|
5. Click on `Save` button to save the changes
|
||
12 months ago
|
|
||
12 months ago
|
|
||
12 months ago
|
![ui acl](/img/v2/data-source/data-source-3.png)
|
||
12 months ago
|
|
||
12 months ago
|
![ui acl](/img/v2/data-source/ui-acl.png)
|
||
12 months ago
|
|
||
|
|
||
12 months ago
|
## Audit logs
|
||
|
|
||
|
1. Access Base context menu by clicking on the `Base` name in the left sidebar
|
||
|
2. Click on `Data Sources` tab
|
||
|
3. Click on `Audit` button listed under `Actions` column for the data source that you wish to access Audit logs for
|
||
|
|
||
|
![audit](/img/v2/data-source/audit.png)
|
||
12 months ago
|
|
||
12 months ago
|
![audit logs](/img/v2/data-source/audit-logs.png)
|
||
|
|
||
|
|
||
12 months ago
|
## Relations
|
||
|
|
||
12 months ago
|
1. Access Base context menu by clicking on the `Base` name in the left sidebar
|
||
|
2. Click on `Data Sources` tab
|
||
|
3. Click on `Relations` button listed under `Actions` column for the data source that you wish to access ERD (Relations view) for
|
||
12 months ago
|
|
||
12 months ago
|
![relations](/img/v2/data-source/data-source-4.png)
|
||
12 months ago
|
|
||
12 months ago
|
![relations](https://github.com/nocodb/nocodb/assets/86527202/c3775d27-f75d-4263-8903-dd66427de4b4)
|
||
|
|
||
|
|
||
|
### Junction table names within Relations
|
||
|
|
||
|
- Enable `Show M2M Tables` within `Project Settings` menu
|
||
12 months ago
|
- Double-click on `Show Columns` to see additional checkboxes get enabled.
|
||
12 months ago
|
- Enabling which you should be able to see junction tables and their table names.
|
||
|
|
||
12 months ago
|
![image](/img/v2/data-source/junction-table.png)
|
||
12 months ago
|
|