-
Notifications
You must be signed in to change notification settings - Fork 531
Description
What steps does it take to reproduce the issue?
- Upgrade a Dataverse installation to version 6.8.
- Create two dataverses (Dataverse A and Dataverse B).
- Create or identify a non-superuser account.
- Grant that user the LinkDataverse permission (or a role containing it) on both dataverses.
- Log in as that non-superuser.
- Attempt to link Dataverse A to Dataverse B using either: the UI, or the Dataverse linking API.
- When does this issue occur?
When a non-superuser attempts to link one dataverse to another, even though they have been explicitly granted the LinkDataverse permission.
- Which page(s) does it occurs on?
The Dataverse page where the “Link Dataverse” action would normally be available in the UI
The API endpoint used for linking dataverses
- What happens?
In the UI, the “Link Dataverse” button does not appear for non-superusers.
In the API, the linking request fails with an authorization error.
The same operation succeeds when performed by a superuser.
- To whom does it occur (all users, curators, superusers)?
Occurs for non-superusers (including users with curator/admin roles that include the LinkDataverse permission).
Does not occur for superusers.
- What did you expect to happen?
Users who have been granted the LinkDataverse permission in both the source and target dataverses should be able to link dataverses via the UI and API, without requiring superuser status—consistent with how dataset linking works.
Which version of Dataverse are you using?
Dataverse 6.8 (observed after upgrading from 6.4 to 6.8)
Any related open or closed issues to this bug report?
PR #4648 – Added linking APIs with superuser-only restriction (Dataverse 4.9)
Issue #4410 – Led to removal of superuser requirement for dataset linking
PR #5014 – Removed superuser-only requirement for dataset linking (Dataverse 4.9.3)
PR #11691 – Introduced separate linking permissions (including LinkDataverse), but did not remove superuser requirement for dataverse linking
Are you thinking about creating a pull request for this issue?
No fix is currently planned by the team.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status