IQSS / IQSS/dataverse

Add a ManagePrivateURL permission

Open
#10,574 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Overview of the Feature Request
Splitting off a new ManagePrivateURL permission from the current ManageDatasetPermissions permission to manage Private URL and URLs for Anonymized Access

What kind of user is the feature intended for?
Dataverse collection or dataset administrators

What inspired the request?
Currently the ManageDatasetPermissions permission allows, in addition to managing dataset permissions, to manage Private URLs.
This has proven both confusing and limiting for installations:

Splitting a ManagePrivateURL from ManageDatasetPermissions would make the list of permissions clearer and allow installations to better adjust roles' permissions to their needs.

What existing behavior do you want changed?
Remove the ability to manage Private URLs and URLs for Anonymized Access in the ManageDatasetPermissions permission

Any brand new behavior do you want to add to Dataverse?
Add a new ManagePrivateURL permission with the following rights:

  • creating a private URL
  • disabling a private URL
  • creating an URL for Anonymized Access
  • disabling an URL for Anonymized Access

with the following description: "Manage Private URL or URL for Anonymized Access for a dataset"

Any open or closed issues related to this feature request?
Aforementioned issues on Permissions granularity:

and specifically Private URL (but broader):

Will you be able to contribute a Pull Request for this issue?
Yes, although it is not currently in our priorities for the coming month so feel free to start working on it if this is more urgent to your installation!

Thoughts for the future
For us, a distinction between Anonymized Private URLs (URL for Anonymized Access) and "regular" Private URLs is not currently a need, but it would be interesting to have other installations opinion on whether URL for Anonymized Access should, in the longer run, have a dedicated permission, separate from ManagePrivateURL or not.

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 the existing ManageDatasetPermissions checks and permission definitions for Private URLs and URLs for Anonymized Access. Identify the paths for creating and disabling both URL types, then verify that the new ManagePrivateURL permission controls those four operations while ManageDatasetPermissions no longer grants them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authorization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.