Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwinship committed Oct 7, 2024
1 parent 423077d commit ef85364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ The following API have been added:

This API lists the dataverses/collections that the user has access to via the permission passed.
By passing "any" as the permission the list will return all dataverse/collections that the user can access regardless of which permission is used.
This API can be executed only by superusers.
This API can be executed only by the User requesting their own list of accessible collections or by Administrators.
Valid Permissions are: AddDataverse, AddDataset, ViewUnpublishedDataverse, ViewUnpublishedDataset, DownloadFile, EditDataverse, EditDataset, ManageDataversePermissions,
ManageDatasetPermissions, ManageFilePermissions, PublishDataverse, PublishDataset, DeleteDataverse, DeleteDatasetDraft, and "any" as a wildcard option.
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6019,7 +6019,7 @@ List Dataverse collections a user can act on based on a particular permission ::
GET http://$SERVER/api/users/$identifier/allowedCollections/$permission
.. note:: This API can only be called by an Administrator
.. note:: This API can only be called by an Administrator or by a User requesting their own list of accessible collections.
The ``$identifier`` is the username of the requested user.
The ``$permission`` is the permission (tied to the roles) that gives the user access to the collection.
Expand Down

0 comments on commit ef85364

Please sign in to comment.