From 69bbdfbe6df3c19c483d6258bb7352cf59f08b44 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Thu, 22 May 2025 11:31:33 +0200
Subject: [PATCH] WIP

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .docs/index.md                                    | 6 +++---
 dbrepo-ui/components/database/DatabaseToolbar.vue | 6 ++++++
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/.docs/index.md b/.docs/index.md
index 90f0651bfe..80096a728c 100644
--- a/.docs/index.md
+++ b/.docs/index.md
@@ -16,9 +16,9 @@ author: Martin Weise
 
 Documentation for version: [v1.9.0](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/releases).
 
-DBRepo is a repository for data in databases that cover the entire data life cycle supporting data evolution, -citation 
-and -versioning. It implements the query store of the [RDA WGDC](https://doi.org/10.1162/99608f92.be565013) on precisely
-identifying arbitrary subsets of data.
+DBRepo is an open-source research database repository that cover the data life cycle supporting data evolution, 
+-citation and -versioning. It implements the query store of the [RDA WGDC](https://doi.org/10.1162/99608f92.be565013) on
+precisely identifying arbitrary subsets of data.
 
 ## Why use DBRepo?
 
diff --git a/dbrepo-ui/components/database/DatabaseToolbar.vue b/dbrepo-ui/components/database/DatabaseToolbar.vue
index 642f75a529..16dae8482c 100644
--- a/dbrepo-ui/components/database/DatabaseToolbar.vue
+++ b/dbrepo-ui/components/database/DatabaseToolbar.vue
@@ -162,6 +162,12 @@ export default {
       return this.roles.includes('create-table')
     },
     canViewSubsets () {
+      if (!this.database) {
+        return false
+      }
+      if (this.database.is_public) {
+        return true
+      }
       return this.hasReadAccess
     },
     isOwner () {
-- 
GitLab