Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from develop IQSS #46

Merged
merged 164 commits into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
164 commits
Select commit Hold shift + click to select a range
cc08330
multistore implementation (built on direct upload)
qqmyers Dec 4, 2019
cdbd6f2
merge issue
qqmyers Jan 7, 2020
9cc034a
dcm - use new option name - assume store with id 's3'
qqmyers Jan 7, 2020
ae6ecfa
control store via dataverse.storagedriver param
qqmyers Jan 3, 2020
79fbd8c
redirect and url lifetime store specific
qqmyers Jan 7, 2020
6c506ab
limit rsync setup/panel to datasets using 's3' store
qqmyers Jan 7, 2020
171abe1
documentation
qqmyers Jan 7, 2020
be8a5c7
api and doc for it
qqmyers Jan 7, 2020
2220d87
merge issue
qqmyers Jan 7, 2020
27b5308
minimal file store config
qqmyers Jan 7, 2020
9e13e06
fix tests
qqmyers Jan 8, 2020
a7507dc
test fixes
qqmyers Jan 8, 2020
7073314
define 'file' store type for default test
qqmyers Jan 8, 2020
57d4499
remove log4j 1.x (EOL)
pdurbin Jan 14, 2020
6ec46ba
doc updates per review
qqmyers Jan 15, 2020
5edeb48
Merge remote-tracking branch 'IQSS/develop' into IQSS/6485
qqmyers Jan 15, 2020
42bec6b
inherit from parent in 'New Dataverse' form
qqmyers Jan 15, 2020
2b3bbd8
allow storagedriver to be set when adding dataverse via api
qqmyers Jan 15, 2020
fb67d4e
return storage driver label if set
qqmyers Jan 15, 2020
feb4329
Removing storage driver setting
qqmyers Jan 15, 2020
b5c7fa1
updating wording based on design feedback
djbrooke Jan 16, 2020
f3de926
change inheritance mechanism per review feedback
qqmyers Jan 31, 2020
eac17c4
Merge remote-tracking branch 'origin/IQSS/6485' into IQSS/6485
qqmyers Jan 31, 2020
ccb39e7
Merge remote-tracking branch 'IQSS/develop' into IQSS/6485
qqmyers Jan 31, 2020
08f059a
update new API calls to match
qqmyers Jan 31, 2020
e1a8a71
and fix default case for test
qqmyers Jan 31, 2020
310fb73
Merge remote-tracking branch 'IQSS/develop' into IQSS/6485
qqmyers Feb 5, 2020
055fa5f
in Search API show fileCount for datasets #6601
pdurbin Feb 6, 2020
6b660c5
fix storagedriver assignment
qqmyers Feb 7, 2020
6698363
change defaults for storageidentifiers with no driver prepended
qqmyers Feb 8, 2020
0c1f53f
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 10, 2020
ceefc72
Merge remote-tracking branch 'IQSS/develop' into IQSS/6485
qqmyers Feb 11, 2020
a016b12
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 11, 2020
1b44d8a
finalize sql script name, update docs/default temp file store
qqmyers Feb 11, 2020
9415c63
Update 6485-multiple-stores.md
kcondon Feb 11, 2020
db4ac18
Update config.rst
kcondon Feb 11, 2020
1d5983a
#6587 check file status before adding to map
sekmiller Feb 11, 2020
ba0c7f7
#6587 add boolean for show deleted files
sekmiller Feb 11, 2020
641a0e1
#6587 Add toggle for Include Deleted Files
sekmiller Feb 12, 2020
b3e8ccf
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 12, 2020
b9ba76e
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 12, 2020
d83c881
#6587 add file directory label to manage permissions
sekmiller Feb 12, 2020
3556433
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 13, 2020
b56df57
#6587 add status annotation to file list
sekmiller Feb 13, 2020
0d1a726
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 13, 2020
14e2649
Assure file type storage always uses '<driverID>://' prefix
qqmyers Feb 13, 2020
734d566
doc updates
qqmyers Feb 14, 2020
1efdf38
replace default file driverId with real one
qqmyers Feb 14, 2020
d038a9d
Merge branch 'IQSS/6485' of
qqmyers Feb 14, 2020
d1a98a8
#6083 update examples in File part of Native API: 'Redetect File Type…
pkiraly Feb 17, 2020
a280f88
#6083 update examples in File part of Native API: 'Replacing Files' s…
pkiraly Feb 17, 2020
b6494b7
#6083 update examples in File part of Native API: 'Getting File Metad…
pkiraly Feb 17, 2020
38f4885
#6587 add notations for deleted files
sekmiller Feb 18, 2020
64bca69
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 18, 2020
5421bcb
#6644 change editor role alias to contributor
sekmiller Feb 18, 2020
60f05d3
Merge branch 'develop' into 6644-update-editor-role-alias
sekmiller Feb 18, 2020
6d32849
Update pom.xml
kcondon Feb 18, 2020
b9ac210
Update pom.xml
kcondon Feb 18, 2020
86b7aee
#6587 cleanup formatting of Grant Access popup
sekmiller Feb 18, 2020
7112a83
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 18, 2020
034787b
update test and comment
qqmyers Feb 18, 2020
8fbc2b4
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 18, 2020
fc79e61
Merge branch 'develop' into 6644-update-editor-role-alias
sekmiller Feb 18, 2020
0731330
#6644 update role-editor.json
sekmiller Feb 18, 2020
ad49b44
Merge pull request #6654 from pkiraly/6083-documentation-update-nativ…
kcondon Feb 18, 2020
68aa727
#6644 fix ui for editor/contributor
sekmiller Feb 18, 2020
bd8fdb7
Merge branch 'develop' into 6644-update-editor-role-alias
sekmiller Feb 18, 2020
faceebc
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 18, 2020
bf79e64
Merge pull request #6488 from TexasDigitalLibrary/IQSS/6485
kcondon Feb 19, 2020
18e2813
Merge pull request #6655 from pkiraly/6083-documentation-update-nativ…
kcondon Feb 19, 2020
e6276d7
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 19, 2020
32d5fef
#6587 move "Deleted" to after file name
sekmiller Feb 19, 2020
222bf50
#6587 remove directory label
sekmiller Feb 19, 2020
9fa123a
Merge branch 'develop' into 6644-update-editor-role-alias
sekmiller Feb 19, 2020
638ca77
Merge pull request #6623 from IQSS/6601-file-count
kcondon Feb 19, 2020
7aca3e8
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 19, 2020
c279350
#6587 include deleted on both panels
sekmiller Feb 19, 2020
baff231
Merge branch 'develop' into 6644-update-editor-role-alias
sekmiller Feb 19, 2020
cd5cf39
Removing the flyway script with the unique constraint, until we figur…
landreev Feb 19, 2020
34f6376
#6083 update examples in File part of Native API: change 'file to rep…
pkiraly Feb 20, 2020
76c393e
#6587 suppress deleted files for assign access
sekmiller Feb 20, 2020
0f394ea
A diagnostics script to be sent to the remote installations.
landreev Feb 20, 2020
9d6729b
"pre-release note" to be sent out to the remote installations.
landreev Feb 20, 2020
2f6b9e8
Merge pull request #6657 from pkiraly/6083-documentation-update-nativ…
kcondon Feb 20, 2020
afcd2aa
Merge pull request #6664 from IQSS/6522-duplicate-dvobjects-remove-fl…
kcondon Feb 20, 2020
1aaa01f
Merge branch 'develop' into 6587-deleted-files-shown-on-grant-permission
sekmiller Feb 20, 2020
f2748b7
Added text-muted styles to file path in Manage Restricted Files pg [r…
mheppler Feb 20, 2020
61b24ee
#6587 fix refresh - default show deleted
sekmiller Feb 20, 2020
c682249
#6587 remove stray ;
sekmiller Feb 21, 2020
634541a
text edits
djbrooke Feb 21, 2020
ca3cd6e
#6083 update examples in File part of Native API: 'Updating File Meta…
pkiraly Feb 21, 2020
eed01cf
changed sh -> bash. (#6510)
landreev Feb 21, 2020
3e791d6
#6083 update examples in File part of Native API: 'Editing Variable L…
pkiraly Feb 21, 2020
f33a063
updating to develop pre-merge
djbrooke Feb 21, 2020
9e3e8cf
update to develop pre-merge
djbrooke Feb 21, 2020
b710561
Correcting my incorrect math
djbrooke Feb 21, 2020
826e77f
Merge pull request #6663 from IQSS/6510-repeated-ingests
djbrooke Feb 21, 2020
fa06e53
Merge pull request #6667 from pkiraly/6083-documentation-update-nativ…
kcondon Feb 21, 2020
18ef902
Merge pull request #6668 from pkiraly/6083-documentation-update-nativ…
kcondon Feb 21, 2020
7227c38
Merge pull request #6659 from IQSS/6587-deleted-files-shown-on-grant-…
kcondon Feb 21, 2020
30dffb6
Disallow 'placeholder' storageIO ~clones
qqmyers Feb 21, 2020
4079e9e
bug fix for exporting
qqmyers Feb 21, 2020
241d301
one test fix
qqmyers Feb 21, 2020
50b14d1
test fix 2
qqmyers Feb 21, 2020
c8a0b81
just check null
qqmyers Feb 21, 2020
f7597a1
fixing fileAccessIO logic to not use deprecated/pre multistore method
qqmyers Feb 21, 2020
e5a60ac
set a default for tests
qqmyers Feb 21, 2020
14d4abd
adding note to external developers
djbrooke Feb 24, 2020
4e1204c
Merge branch 'develop' into 6644-update-editor-role-alias
sekmiller Feb 24, 2020
38760b0
Swapped extra quotes in bibtex citation for title for double brackets…
mheppler Feb 24, 2020
52a4f82
Merge branch 'develop' into remove-log4j1
pdurbin Feb 24, 2020
5490a31
small improvements for handling harvested datasets and configuring ha…
landreev Feb 24, 2020
3e30bcb
more aggressive validation, forcing the user to pick the remote archi…
landreev Feb 25, 2020
e5465f0
a simple solution for the "too many sets" problem. (#4964).
landreev Feb 25, 2020
508f10e
Fixing the link to the 4.19 milestone page
BPeuch Feb 26, 2020
c0196f8
add paragraph about support Solr versions
bricas Feb 26, 2020
3145198
typo
pdurbin Feb 26, 2020
11b4278
typo
pdurbin Feb 26, 2020
eb063f2
minor cleanup of the code in OaiHandler - was supposed to be part of …
landreev Feb 26, 2020
19c17e5
public not needed
qqmyers Feb 26, 2020
299b5b7
Added some warnings and TODOs to the code that handles package files,…
landreev Feb 26, 2020
90166dd
typo
qqmyers Feb 26, 2020
688c7a6
typo
qqmyers Feb 26, 2020
55ad201
same typo
qqmyers Feb 26, 2020
0cff3c0
Merge pull request #1 from landreev/IQSS/6666-metadata-export-failure…
qqmyers Feb 26, 2020
5991438
Merge pull request #6693 from bricas/6599-solr-version-support
kcondon Feb 26, 2020
26f9dee
Merge pull request #6689 from BPeuch/develop
kcondon Feb 26, 2020
8ad480b
Merge pull request #6674 from IQSS/6658-bibtex-citation-noquotes
kcondon Feb 26, 2020
74b499a
Merge pull request #6662 from IQSS/6644-update-editor-role-alias
kcondon Feb 26, 2020
de67a78
Merge remote-tracking branch 'IQSS/develop' into IQSS/6666
qqmyers Feb 26, 2020
f45d85a
Merge remote-tracking branch 'origin/IQSS/6666-metadata-export-failur…
qqmyers Feb 26, 2020
230609c
another minor improvement, for an OAI server with a tricky list of se…
landreev Feb 26, 2020
3cd1575
ok, now I'm done (#4964)
landreev Feb 26, 2020
5b6b75c
Merge branch 'develop' into 4964-harvesting-issues
landreev Feb 27, 2020
f1436a9
updated sql filename
djbrooke Feb 27, 2020
8e14da3
update name based on code review feedback
djbrooke Feb 27, 2020
2e8ded9
#6682 add API Test Coverage shield
donsizemore Feb 27, 2020
7c8df04
Merge branch 'develop' into remove-log4j1 #6519
pdurbin Feb 27, 2020
2010721
Merge pull request #6519 from IQSS/remove-log4j1
kcondon Feb 27, 2020
641c73f
couple of cosmetic/punctuation changes to the messages in the bundle.…
landreev Feb 27, 2020
c94e11a
Merge pull request #6670 from TexasDigitalLibrary/IQSS/6666-metadata-…
kcondon Feb 27, 2020
ce2d2aa
Added missing ui:param components to guestbook-responses to fix heade…
mheppler Feb 27, 2020
89f4f40
Merge branch 'develop' into 6284-gb-responses-header-fix
mheppler Feb 27, 2020
1ec2260
Merge pull request #6686 from IQSS/4964-harvesting-issues
kcondon Feb 27, 2020
e7be959
Merge pull request #6705 from IQSS/6284-gb-responses-header-fix
kcondon Feb 27, 2020
036c78a
Merge pull request #6702 from OdumInstitute/6682_coverage_button
kcondon Feb 27, 2020
919c579
#6703 update Citation Date Field Type stanzas
donsizemore Feb 28, 2020
6265a4f
#6083 update examples in File part of Native API: 'Provenance' section.
pkiraly Mar 2, 2020
72bf99b
add text for coverage badge
djbrooke Mar 2, 2020
b3ac823
Merge pull request #6710 from OdumInstitute/6703_citation_data_field
kcondon Mar 3, 2020
e42f968
Merge branch 'develop' into 6698-update-flyway-script-name
djbrooke Mar 3, 2020
3b540e0
Merge pull request #6699 from IQSS/6698-update-flyway-script-name
kcondon Mar 3, 2020
dcc62f3
match the start and end dataverse specific comment blocks in solr schema
pameyer Mar 3, 2020
c4dd4a5
Merge pull request #6714 from IQSS/6711-add-badge-release-note
kcondon Mar 4, 2020
e476c07
bug fix for changed UI
qqmyers Mar 4, 2020
eb38f4d
release note
qqmyers Mar 4, 2020
f6733f3
Merge pull request #6719 from IQSS/6718-schema_comment_match
kcondon Mar 5, 2020
1e5951f
Changed selector in analytics exmaple to be more precise [ref #6725]
mheppler Mar 6, 2020
3597435
Merge pull request #39 from IQSS/6725-analytics-selector-redux
qqmyers Mar 6, 2020
e03ba54
Merge pull request #6712 from pkiraly/6083-documentation-update-nativ…
kcondon Mar 6, 2020
7ed6519
Merge pull request #6726 from QualitativeDataRepository/IQSS/6725-ana…
kcondon Mar 6, 2020
83218c9
#6083 update examples in File part of Native API: 'Datafile Integrity…
pkiraly Mar 9, 2020
239ccdc
rewording one section
djbrooke Mar 10, 2020
fea57c1
Merge pull request #6732 from pkiraly/6083-documentation-update-nativ…
kcondon Mar 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Dataverse is a trademark of President and Fellows of Harvard College and is regi
[![Dataverse Project logo](src/main/webapp/resources/images/dataverseproject_logo.jpg?raw=true "Dataverse Project")](http://dataverse.org)

[![API Test Status](https://jenkins.dataverse.org/buildStatus/icon?job=IQSS-dataverse-develop&subject=API%20Test%20Status)](https://jenkins.dataverse.org/job/IQSS-dataverse-develop/)
[![API Test Coverage](https://img.shields.io/jenkins/coverage/jacoco?jobUrl=https%3A%2F%2Fjenkins.dataverse.org%2Fjob%2FIQSS-dataverse-develop&label=API%20Test%20Coverage)](https://jenkins.dataverse.org/job/IQSS-dataverse-develop/)
[![Unit Test Status](https://img.shields.io/travis/IQSS/dataverse?label=Unit%20Test%20Status)](https://travis-ci.org/IQSS/dataverse)
[![Unit Test Coverage](https://img.shields.io/coveralls/github/IQSS/dataverse?label=Unit%20Test%20Coverage)](https://coveralls.io/github/IQSS/dataverse?branch=develop)

Expand Down
2 changes: 1 addition & 1 deletion conf/solr/7.7.2/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
<!-- Dataverse copyField from http://localhost:8080/api/admin/index/solr/schema -->
<xi:include href="schema_dv_mdb_copies.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

<!-- End: Dataverse Specific -->
<!-- End: Dataverse-specific -->

<!-- This can be enabled, in case the client does not know what fields may be searched. It isn't enabled by default
because it's very expensive to index everything twice. -->
Expand Down
2 changes: 1 addition & 1 deletion doc/release-notes/4.19-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Additional fields are now available via the Search API, mostly related to inform

## Complete List of Changes

For the complete list of code changes in this release, see the <a href="https://github.com/IQSS/dataverse/milestone/86?closed=1">4.19 milestone</a> in Github.
For the complete list of code changes in this release, see the <a href="https://github.com/IQSS/dataverse/milestone/87?closed=1">4.19 milestone</a> in Github.

For help with upgrading, installing, or general questions please post to the <a href="https://groups.google.com/forum/#!forum/dataverse-community">Dataverse Google Group</a> or email [email protected].

Expand Down
36 changes: 36 additions & 0 deletions doc/release-notes/6485-multiple-stores.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Multiple Store Support
Dataverse can now be configured to store files in more than one place at the same time (multiple file, s3, and/or swift stores).

General information about this capability can be found in the <a href="http://guides.dataverse.org/en/latest/installation/config.html">Configuration Guide</a> - File Storage section.

**Upgrade Information:**

**Existing installations will need to make configuration changes to adopt this version, regardless of whether additional stores are to be added or not.**

Multistore support requires that each store be assigned a label, id, and type - see the documentation for a more complete explanation. For an existing store, the recommended upgrade path is to assign the store id based on it's type, i.e. a 'file' store would get id 'file', an 's3' store would have the id 's3'.

With this choice, no manual changes to datafile 'storageidentifier' entries are needed in the database. (If you do not name your existing store using this convention, you will need to edit the database to maintain access to existing files!).

The following set of commands to change the Glassfish JVM options will adapt an existing file or s3 store for this upgrade:
For a file store:

./asadmin create-jvm-options "\-Ddataverse.files.file.type=file"
./asadmin create-jvm-options "\-Ddataverse.files.file.label=file"
./asadmin create-jvm-options "\-Ddataverse.files.file.directory=<your directory>"

For an s3 store:

./asadmin create-jvm-options "\-Ddataverse.files.s3.type=s3"
./asadmin create-jvm-options "\-Ddataverse.files.s3.label=s3"
./asadmin delete-jvm-options "-Ddataverse.files.s3-bucket-name=<your_bucket_name>"
./asadmin create-jvm-options "-Ddataverse.files.s3.bucket-name=<your_bucket_name>"

Any additional S3 options you have set will need to be replaced as well, following the pattern in the last two lines above - delete the option including a '-' after 's3' and creating the same option with the '-' replaced by a '.', using the same value you currently have configured.

Once these options are set, restarting the glassfish service is all that is needed to complete the change.

<<<<<<< HEAD
Note that the "\-Ddataverse.files.directory", if defined, continues to control where temporary files are stored (in the /temp subdir of that directory), independent of the location of any 'file' store defined above.
=======
Note that the "\-Ddataverse.files.directory", if defined, continues to control where temporary files are stored (in the /temp subdir of that directory), independent of the location of any 'file' store defined above.
>>>>>>> branch 'IQSS/6485' of https://github.com/TexasDigitalLibrary/dataverse.git
22 changes: 22 additions & 0 deletions doc/release-notes/6510-duplicate-datafiles-and-datatables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
We recently discovered a *potential* data integrity issue in
Dataverse databases. One manifests itself as duplicate DataFile
objects created for the same uploaded file (https://github.com/IQSS/dataverse/issues/6522); the other as duplicate
DataTable (tabular metadata) objects linked to the same
DataFile (https://github.com/IQSS/dataverse/issues/6510). This issue impacted approximately .03% of datasets in Harvard's Dataverse.

To see if any datasets in your installation have been impacted by this data integrity issue, we've provided a diagnostic script here:

https://github.com/IQSS/dataverse/raw/develop/scripts/issues/6510/check_datafiles_6522_6510.sh

The script relies on the PostgreSQL utility psql to access the
database. You will need to edit the credentials at the top of the script
to match your database configuration.

If neither of the two issues is present in your database, you will see
a message "... no duplicate DataFile objects in your database" and "no
tabular files affected by this issue in your database".

If either, or both kinds of duplicates are detected, the script will
provide further instructions. We will need you to send us the produced
output. We will then assist you in resolving the issues in your
database.
27 changes: 0 additions & 27 deletions doc/release-notes/6522-datafile-duplicates.md

This file was deleted.

1 change: 1 addition & 0 deletions doc/release-notes/6644-role-name-change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Note for integrators - the role alias has changed, so if anything was hard-coded to "editor" instead of "contributor" it'll need to be updated.
3 changes: 3 additions & 0 deletions doc/release-notes/6711-coverage-badge
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Integration Test Coverage Reporting

API-based integration tests are run every time a branch is merged to develop and the percentage of code covered by these integration tests is now shown on a badge at the bottom of the README.md file that serves as the homepage of Dataverse Github Repository.
3 changes: 3 additions & 0 deletions doc/release-notes/6725-analytics-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Google Analytics Download Tracking Bug

The button tracking capability discussed in the installation guide (http://guides.dataverse.org/en/4.20/installation/config.html#id88) relies on an analytics-code.html file that must be configured using the :WebAnalyticsCode setting. The example file provided in the installation guide is no longer compatible with recent Dataverse releases (>v4.16). Installations using this feature should update their analytics-code.html file by following the installation instructions using the updated example file. (Alternately, sites can modify their existing files to include the one-line change made in the example file at line 120.)
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
var row = target.parents('tr')[0];
if(row != null) {
//finds the file id/DOI in the Dataset page
label = $(row).find('td.col-file-metadata > a').attr('href');
label = $(row).find('div.file-metadata-block > a').attr('href');
} else {
//finds the file id/DOI in the file page
label = $('#fileForm').attr('action');
Expand Down
22 changes: 21 additions & 1 deletion doc/sphinx-guides/source/admin/dataverses-datasets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,27 @@ Add Dataverse RoleAssignments to Child Dataverses

Recursively assigns the users and groups having a role(s),that are in the set configured to be inheritable via the :InheritParentRoleAssignments setting, on a specified dataverse to have the same role assignments on all of the dataverses that have been created within it. The response indicates success or failure and lists the individuals/groups and dataverses involved in the update. Only accessible to superusers. ::

curl -H "X-Dataverse-key: $API_TOKEN" http://$SERVER/api/admin/dataverse/$dataverse-alias//addRoleAssignmentsToChildren
curl -H "X-Dataverse-key: $API_TOKEN" http://$SERVER/api/admin/dataverse/$dataverse-alias/addRoleAssignmentsToChildren

Configure a Dataverse to store all new files in a specific file store
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To direct new files (uploaded when datasets are created or edited) for all datasets in a given dataverse, the store can be specified via the API as shown below, or by editing the 'General Information' for a Dataverse on the Dataverse page. Only accessible to superusers. ::

curl -H "X-Dataverse-key: $API_TOKEN" -X PUT -d $storageDriverLabel http://$SERVER/api/admin/dataverse/$dataverse-alias/storageDriver

The current driver can be seen using:

curl -H "X-Dataverse-key: $API_TOKEN" http://$SERVER/api/admin/dataverse/$dataverse-alias/storageDriver

and can be reset to the default store with:

curl -H "X-Dataverse-key: $API_TOKEN" -X DELETE http://$SERVER/api/admin/dataverse/$dataverse-alias/storageDriver

The available drivers can be listed with:

curl -H "X-Dataverse-key: $API_TOKEN" http://$SERVER/api/admin/storageDrivers


Datasets
--------
Expand Down
Loading