Skip to content

Commit 105dd1b

Browse files
committed
Merge remote-tracking branch 'IQSS/develop' into QDR-solr_and_libs_updates
2 parents c5be7d7 + 4b3afe3 commit 105dd1b

22 files changed

Lines changed: 360 additions & 41 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### News on Support for External Vocabulary Services
2+
3+
It is now possible to fill Dataverse keywords metadata using an OntoPortal service.
4+
The code has been shared on [GDCC GitHub Repository](https://github.com/gdcc/dataverse-external-vocab-support#scripts-in-production).
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The following API have been added:
2+
3+
/api/users/{identifier}/allowedCollections/{permission}
4+
5+
This API lists the dataverses/collections that the user has access to via the permission passed.
6+
By passing "any" as the permission the list will return all dataverse/collections that the user can access regardless of which permission is used.
7+
This API can be executed only by the User requesting their own list of accessible collections or by an Administrator.
8+
Valid Permissions are: AddDataverse, AddDataset, ViewUnpublishedDataverse, ViewUnpublishedDataset, DownloadFile, EditDataverse, EditDataset, ManageDataversePermissions,
9+
ManageDatasetPermissions, ManageFilePermissions, PublishDataverse, PublishDataset, DeleteDataverse, DeleteDatasetDraft, and "any" as a wildcard option.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### Guides Table of Contents Depth
2+
3+
On the home page for each guide (User Guide, etc.) there was an overwhelming amount of information in the form of a deeply nested tabled of contents. The depth of the table of contents has been reduced to two levels, making the home page for each guide more readable. See #11166.

doc/sphinx-guides/source/admin/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This guide documents the functionality only available to superusers (such as "da
1111
**Contents:**
1212

1313
.. toctree::
14+
:maxdepth: 2
1415

1516
dashboard
1617
external-tools

doc/sphinx-guides/source/api/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ API Guide
99
**Contents:**
1010

1111
.. toctree::
12+
:maxdepth: 2
1213

1314
intro
1415
getting-started
@@ -24,4 +25,4 @@ API Guide
2425
linkeddatanotification
2526
apps
2627
faq
27-
changelog
28+
changelog

doc/sphinx-guides/source/api/native-api.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6501,6 +6501,27 @@ Example: List permissions a user (based on API Token used) has on a dataset whos
65016501
65026502
curl -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/admin/permissions/:persistentId?persistentId=$PERSISTENT_IDENTIFIER"
65036503
6504+
List Dataverse collections a user can act on based on their permissions
6505+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6506+
6507+
List Dataverse collections a user can act on based on a particular permission ::
6508+
6509+
GET http://$SERVER/api/users/$identifier/allowedCollections/$permission
6510+
6511+
.. note:: This API can only be called by an Administrator or by a User requesting their own list of accessible collections.
6512+
6513+
The ``$identifier`` is the username of the requested user.
6514+
The ``$permission`` is the permission (tied to the roles) that gives the user access to the collection.
6515+
Passing ``$permission`` as 'any' will return the collection as long as the user has any access/permission on the collection
6516+
6517+
.. code-block:: bash
6518+
6519+
export SERVER_URL=https://demo.dataverse.org
6520+
export $USERNAME=jsmith
6521+
export PERMISSION=PublishDataverse
6522+
6523+
curl -H "X-Dataverse-key:$API_TOKEN" "$SERVER_URL/api/users/$USERNAME/allowedCollections/$PERMISSION"
6524+
65046525
Show Role Assignee
65056526
~~~~~~~~~~~~~~~~~~
65066527

doc/sphinx-guides/source/container/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Container Guide
44
**Contents:**
55

66
.. toctree::
7+
:maxdepth: 2
78

89
intro
910
running/index

doc/sphinx-guides/source/contributor/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Thank you for your interest in contributing to Dataverse! We are open to contri
44

55
```{contents} Contents:
66
:local:
7-
:depth: 3
7+
:depth: 2
88
```
99

1010
## Ideas and Feature Requests

doc/sphinx-guides/source/developers/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Developer Guide
99
**Contents:**
1010

1111
.. toctree::
12+
:maxdepth: 2
1213

1314
intro
1415
dev-environment

doc/sphinx-guides/source/installation/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Installation Guide
99
**Contents:**
1010

1111
.. toctree::
12+
:maxdepth: 2
1213

1314
intro
1415
prep

0 commit comments

Comments
 (0)