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

Role Assignment: Able to Attempt to Assign the Same Role to the Same User Multiple Times #1503

Closed
eaquigley opened this issue Feb 24, 2015 · 4 comments

Comments

@eaquigley
Copy link
Contributor

Discovered during a demo that a user can assign the same role to a user multiple times. An error message appears but it says, "an error has occurred, please contact support". Post 4.0, we should make the messaging better and not allow a user to do this.

@eaquigley eaquigley added UX & UI: Design This issue needs input on the design of the UI and from the product owner Status: Design labels Feb 24, 2015
@eaquigley eaquigley self-assigned this Feb 24, 2015
@eaquigley eaquigley added this to the In Review - 4.x milestone Feb 24, 2015
@eaquigley
Copy link
Contributor Author

  • Need functionality to prevent a user from being assigned the same role twice for a dataverse, dataset, or file
  • Need an error message that appears within the role assigment pop up
  • Error message should say, "(insert user name) has already been assigned this role for this (insert dataverse, dataset, or file name)"

@scolapasta scolapasta modified the milestones: In Review - Long Term, In Review - Short Term May 8, 2015
@scolapasta scolapasta modified the milestones: Candidates for 4.0.3, In Review Jun 8, 2015
@scolapasta scolapasta assigned scolapasta and unassigned eaquigley Jun 8, 2015
@scolapasta scolapasta changed the title Role Assignment: Able to Assign the Same Role to the Same User Multiple Times Role Assignment: Able to Attempt to Assign the Same Role to the Same User Multiple Times Sep 17, 2015
@scolapasta scolapasta modified the milestones: In Review, Candidates for 4.2 Sep 17, 2015
@mheppler mheppler added Feature: Permissions and removed UX & UI: Design This issue needs input on the design of the UI and from the product owner labels Jan 27, 2016
@scolapasta scolapasta removed their assignment Jan 27, 2016
@scolapasta scolapasta removed this from the Not Assigned to a Release milestone Jan 28, 2016
@jggautier
Copy link
Contributor

jggautier commented Nov 1, 2021

This issue, especially the second and third points in an earlier comment in this GitHub issue, is related to what happened recently with a Dataverse collection administrator in the Harvard Dataverse Repository. The administrator kept trying to assign a role to a user and didn't realize that the user already had the role. (See the support ticket conversation.) The error message, which isn't in the popup but above the table in the Users/Groups panel, reads that the role could not be assigned to the user for the Dataverse collection.

I think that first point, about needing "functionality to prevent a user from being assigned the same role twice for a dataverse, dataset, or file" is already fixed. As far as I can tell, a user can't be assigned the same role in the same Dataverse collection, dataset, or file more than once.

Edit: Hmm maybe that's why @scolapasta edited the issue title from "Able to assign..." to "Able to attempt to assign"

@pdurbin
Copy link
Member

pdurbin commented Jul 21, 2023

Same bug report but via API:

@pdurbin
Copy link
Member

pdurbin commented Oct 13, 2023

Closing in favor of this issue:

@pdurbin pdurbin closed this as completed Oct 13, 2023
Recherche Data Gouv (formerly Data INRAE) automation moved this from ⚠️ Needed/Important to Done Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants