Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide dataset unlink functionality to same level of permission/role as dataset link ["Publish Dataset"/Curator] #10583

Closed
mdmADA opened this issue May 23, 2024 · 2 comments · Fixed by #10689
Labels
FY25 Sprint 1 FY25 Sprint 1 issues Size: 10 A percentage of a sprint. 7 hours. Type: Feature a feature request
Milestone

Comments

@mdmADA
Copy link
Contributor

mdmADA commented May 23, 2024

What steps does it take to reproduce the issue?

  1. Make sure you have "Publish Dataset"/Curator permissions on at least one Dataverse/Collection.
  2. Login to Dataverse
  3. Link a Dataset to a Dataverse from 1.
  4. Go to that Dataverse - the dataset is included
  5. You want to unlink the dataset you just had permission to link
  6. Ask a superuser to unlink it using the https://guides.dataverse.org/en/6.2/admin/dataverses-datasets.html#unlink-a-dataset API call.
  • When does this issue occur?
    When a dataset is linked to a Dataverse.

  • Which page(s) does it occurs on?
    All Dataverse pages to which a dataset has been linked

  • What happens?
    See above.

  • To whom does it occur (all users, curators, superusers)?
    Curators/Publish Dataset Permission

  • What did you expect to happen?
    If you had the permission to link it, you should have the permission to unlink it.

Also, what if I am a dataset owner and I don't want anyone else to link my dataset to their dataverse? There should be a way to say [Allow dataset to be linked to other dataverses?: no] - maybe there is and I can't see it in the documentation.

Which version of Dataverse are you using?
6.2

Any related open or closed issues to this bug report?
#4454 which was closed

@mdmADA mdmADA added the Type: Bug a defect label May 23, 2024
@DS-INRAE
Copy link
Member

DS-INRAE commented May 23, 2024

Hi,
sadly it is not really a bug but something not done, as I understand it, as the links were considered experimental for a while.
If you really need the links removed without waiting for this, you can use this command : https://guides.dataverse.org/en/latest/admin/dataverses-datasets.html#unlink-a-dataset but even in this API command it is superadmin only.
It'd be great to have it in the UI as you point out though ! I think you should also create an issue for the new Single Page Application for this here so it doesn't get overlooked : https://github.com/IQSS/dataverse-frontend

@DS-INRAE
Copy link
Member

Also a specific first issue for the API would be great too because the UI integration is more likely to lag behind and the API part (allowing Curators/Publish Dataset Permission to use the command) will be a prerequisite for both user interfaces anyway :)

@sbarbosadataverse sbarbosadataverse added Type: Feature a feature request and removed Type: Bug a defect labels Jun 12, 2024
@cmbz cmbz moved this to SPRINT- NEEDS SIZING in IQSS Dataverse Project Jun 24, 2024
@DS-INRAE DS-INRAE moved this to ⚠️ Needed/Important in Recherche Data Gouv Jul 10, 2024
@cmbz cmbz added the Size: 10 A percentage of a sprint. 7 hours. label Jul 10, 2024
@cmbz cmbz moved this from SPRINT- NEEDS SIZING to SPRINT READY in IQSS Dataverse Project Jul 10, 2024
@pdurbin pdurbin moved this from SPRINT READY to This Sprint 🏃‍♀️ 🏃 in IQSS Dataverse Project Jul 10, 2024
@cmbz cmbz added the FY25 Sprint 1 FY25 Sprint 1 issues label Jul 10, 2024
@stevenwinship stevenwinship self-assigned this Jul 15, 2024
@stevenwinship stevenwinship moved this from This Sprint 🏃‍♀️ 🏃 to In Progress 💻 in IQSS Dataverse Project Jul 15, 2024
@stevenwinship stevenwinship removed their assignment Jul 16, 2024
@github-project-automation github-project-automation bot moved this from ⚠️ Needed/Important to Done in Recherche Data Gouv Aug 27, 2024
@pdurbin pdurbin added this to the 6.4 milestone Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 1 FY25 Sprint 1 issues Size: 10 A percentage of a sprint. 7 hours. Type: Feature a feature request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants