Skip to content
Snippets Groups Projects
Verified Commit 69bbdfbe authored by Martin Weise's avatar Martin Weise
Browse files
parent 361af0f3
No related branches found
No related tags found
3 merge requests!422Fixed a library issue where the value could not be empty,!421Fixed a library issue where the value could not be empty,!419Fixed a library issue where the value could not be empty
...@@ -16,9 +16,9 @@ author: Martin Weise ...@@ -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). 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 DBRepo is an open-source research database repository that cover the data life cycle supporting data evolution,
and -versioning. It implements the query store of the [RDA WGDC](https://doi.org/10.1162/99608f92.be565013) on precisely -citation and -versioning. It implements the query store of the [RDA WGDC](https://doi.org/10.1162/99608f92.be565013) on
identifying arbitrary subsets of data. precisely identifying arbitrary subsets of data.
## Why use DBRepo? ## Why use DBRepo?
......
...@@ -162,6 +162,12 @@ export default { ...@@ -162,6 +162,12 @@ export default {
return this.roles.includes('create-table') return this.roles.includes('create-table')
}, },
canViewSubsets () { canViewSubsets () {
if (!this.database) {
return false
}
if (this.database.is_public) {
return true
}
return this.hasReadAccess return this.hasReadAccess
}, },
isOwner () { isOwner () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment