IQSS / IQSS/dataverse

Creating private URL not possible for the role "Contributor"

Open
#9,938 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: Permissions Type: Feature User Role: Depositor
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

Dear Dataverse Community,
we were looking for ways the standard roles (e.g. "Curator", "Contributor", etc.) can be edited, but could not find a solution so far.

The concrete problem we are facing at the moment is that a Contributor can not create private URLs after uploading a dataset. This always needs to be done by administrators at the moment. I guess it is because "Contributor" is missing the permisson "ManageDatasetPermissions".

Creating a new Role with required permissions does not solve the problem, because it can not be automatically assigned to a dataset uploader (unlike the "Contributor" role)

There might be other ways to achieve the behavior, but as I mentioned, we could not find any, unfortunately.

Thank you for your thoughts on this!
Sergej

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the Contributor role is assigned and how ManageDatasetPermissions affects private URL creation. Review the permission checks and related role handling, then verify that an uploaded dataset's Contributor can create a private URL without administrator intervention. No files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.