Skip to content

Commit 4dfb47b

Browse files
committed
in docs, add "requires ManageDataversePermissions" #12112
Added for the older endpoint too.
1 parent d382da6 commit 4dfb47b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ The fully expanded example above (without environment variables) looks like this
525525
Assign Default Role to User Creating a Dataset in a Dataverse Collection
526526
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
527527

528-
Assign a default role to a user creating a dataset in a Dataverse collection ``id`` where ``roleAlias`` is the database alias of the role to be assigned:
528+
Assign a default role to a user creating a dataset in a Dataverse collection ``id`` where ``roleAlias`` is the database alias of the role to be assigned (requires ``ManageDataversePermissions``):
529529

530530
.. code-block:: bash
531531
@@ -549,7 +549,7 @@ Note: You may use "none" as the ``ROLE_ALIAS``. This will prevent a user who cre
549549
Get Default Role Assigned to User Creating a Dataset in a Dataverse Collection
550550
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
551551

552-
Get the default role that is assigned to a user creating a dataset in a Dataverse collection ``id``:
552+
Get the default role that is assigned to a user creating a dataset in a Dataverse collection ``id`` (requires ``ManageDataversePermissions``):
553553

554554
.. code-block:: bash
555555

0 commit comments

Comments
 (0)