Skip to content

Change to duplicate role assignment error message#11362

Merged
ofahimIQSS merged 1 commit intodevelopfrom
11191-assign-role-api-error-message
Mar 25, 2025
Merged

Change to duplicate role assignment error message#11362
ofahimIQSS merged 1 commit intodevelopfrom
11191-assign-role-api-error-message

Conversation

@stevenwinship
Copy link
Copy Markdown
Contributor

What this PR does / why we need it: Error message is specific to user and dataverse even though it is also used for groups and datasets. Message needs to be made more generic.

Which issue(s) this PR closes:#11191

Special notes for your reviewer:

Suggestions on how to test this: See IT tests

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?: included

Additional documentation:

@stevenwinship stevenwinship self-assigned this Mar 21, 2025
@github-actions github-actions Bot added Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect labels Mar 21, 2025
@stevenwinship stevenwinship moved this to In Progress 💻 in IQSS Dataverse Project Mar 21, 2025
@stevenwinship stevenwinship added the FY25 Sprint 19 FY25 Sprint 19 (2025-03-12 - 2025-03-26) label Mar 21, 2025
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 22.735%. remained the same
when pulling c8379a1 on 11191-assign-role-api-error-message
into 5fbfea2 on develop.

@github-actions
Copy link
Copy Markdown

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:11191-assign-role-api-error-message
ghcr.io/gdcc/configbaker:11191-assign-role-api-error-message

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@stevenwinship stevenwinship removed their assignment Mar 21, 2025
@stevenwinship stevenwinship moved this from In Progress 💻 to Ready for Review ⏩ in IQSS Dataverse Project Mar 21, 2025
Copy link
Copy Markdown
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't run the code myself but the fix is straighforward and tests are passing: https://jenkins.dataverse.org/job/IQSS-Dataverse-Develop-PR/job/PR-11362/1/testReport/

Approved.

@github-project-automation github-project-automation Bot moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS Dataverse Project Mar 24, 2025
@ofahimIQSS
Copy link
Copy Markdown
Contributor

Tests Passing, merging PR

@ofahimIQSS ofahimIQSS merged commit efbbd18 into develop Mar 25, 2025
27 checks passed
@github-project-automation github-project-automation Bot moved this from Ready for QA ⏩ to Merged 🚀 in IQSS Dataverse Project Mar 25, 2025
@ofahimIQSS ofahimIQSS deleted the 11191-assign-role-api-error-message branch March 25, 2025 13:04
@pdurbin pdurbin added this to the 6.7 milestone Mar 25, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY25 Sprint 19 FY25 Sprint 19 (2025-03-12 - 2025-03-26) Size: 3 A percentage of a sprint. 2.1 hours. Type: Bug a defect

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

Collection Level "Assign role" API error message should specify: User already has this role, and not include "dataset" (which is incorrect)

5 participants