diff --git a/packages/noco-docs/docs/100.data-sources/040.actions-on-data-sources.md b/packages/noco-docs/docs/100.data-sources/040.actions-on-data-sources.md index 44856436e7..c1f7e4b1c6 100644 --- a/packages/noco-docs/docs/100.data-sources/040.actions-on-data-sources.md +++ b/packages/noco-docs/docs/100.data-sources/040.actions-on-data-sources.md @@ -6,24 +6,22 @@ keywords: ['NocoDB data source', 'UI ACL', 'Audit logs', 'Relations', 'Edit', 'U --- ## Edit external database configuration parameters +- Access `Data Sources` tab in the `Base Settings` +- Click on `Connection Details` tab +- Re-configure database credentials as required -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! - -![relations](/img/v2/data-source/data-source-edit.png) +:::info +Please make sure database configuration parameters are valid. Any incorrect parameters could lead to schema loss! +::: -![edit db config](/img/v2/data-source/edit-base.png) +![edit-data-source](/img/v2/data-source/data-source-edit.png) ## Remove data source -1. Access Base context menu by clicking on the `Base` name in the left sidebar -2. Click on `Data Sources` tab -3. Click on `Delete` icon listed under `Actions` column for the data source that you wish to Unlink +- 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 -![datasource unlink](/img/v2/data-source/data-source-unlink.png) +![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. @@ -32,11 +30,10 @@ Unlinking a data source will not delete the external data source. It will only r ## Data source visibility -1. Access Base context menu by clicking on the `Base` name in the left sidebar -2. Click on `Data Sources` tab -3. Toggle radio button listed under `Visibility` column for the data source that you wish to hide/un-hide +- 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 -![datasource visibility](/img/v2/data-source/data-source-visibility.png) +![datasource visibility](/img/v2/data-source/data-source-hide.png) ## UI Access Control @@ -45,39 +42,33 @@ Unlinking a data source will not delete the external data source. It will only r UI Access Control is available only in Open Source version of NocoDB. ::: -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 +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 -![ui acl](/img/v2/data-source/data-source-3.png) - -![ui acl](/img/v2/data-source/ui-acl.png) +![ui acl](/img/v2/data-source/data-source-uiacl.png) ## 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) +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. -![audit logs](/img/v2/data-source/audit-logs.png) +![audit](/img/v2/data-source/data-source-audit.png) +:::info +Audit logs are not available for external data source connections. +::: ## Relations +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 -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 - -![relations](/img/v2/data-source/data-source-4.png) - -![relations](https://github.com/nocodb/nocodb/assets/86527202/c3775d27-f75d-4263-8903-dd66427de4b4) - +![relations](/img/v2/data-source/data-source-erd.png) ### Junction table names within Relations diff --git a/packages/noco-docs/static/img/v2/data-source/data-source-audit.png b/packages/noco-docs/static/img/v2/data-source/data-source-audit.png new file mode 100644 index 0000000000..04c450bcea Binary files /dev/null and b/packages/noco-docs/static/img/v2/data-source/data-source-audit.png differ diff --git a/packages/noco-docs/static/img/v2/data-source/data-source-edit.png b/packages/noco-docs/static/img/v2/data-source/data-source-edit.png index 314df70957..1bc2c39db8 100644 Binary files a/packages/noco-docs/static/img/v2/data-source/data-source-edit.png and b/packages/noco-docs/static/img/v2/data-source/data-source-edit.png differ diff --git a/packages/noco-docs/static/img/v2/data-source/data-source-erd.png b/packages/noco-docs/static/img/v2/data-source/data-source-erd.png new file mode 100644 index 0000000000..ea231db4b6 Binary files /dev/null and b/packages/noco-docs/static/img/v2/data-source/data-source-erd.png differ diff --git a/packages/noco-docs/static/img/v2/data-source/data-source-hide.png b/packages/noco-docs/static/img/v2/data-source/data-source-hide.png new file mode 100644 index 0000000000..e549ce9555 Binary files /dev/null and b/packages/noco-docs/static/img/v2/data-source/data-source-hide.png differ diff --git a/packages/noco-docs/static/img/v2/data-source/data-source-remove.png b/packages/noco-docs/static/img/v2/data-source/data-source-remove.png new file mode 100644 index 0000000000..9d1d12f9d1 Binary files /dev/null and b/packages/noco-docs/static/img/v2/data-source/data-source-remove.png differ diff --git a/packages/noco-docs/static/img/v2/data-source/data-source-uiacl.png b/packages/noco-docs/static/img/v2/data-source/data-source-uiacl.png new file mode 100644 index 0000000000..b732672314 Binary files /dev/null and b/packages/noco-docs/static/img/v2/data-source/data-source-uiacl.png differ