Skip to content

#6159 - Assigning or revoking project permissions via the remote API fails when no role is given - #6160

Merged
reckart merged 1 commit into
release/41.xfrom
bugfix/6159-Assigning-or-revoking-project-permissions-via-the-remote-API-fails-when-no-role-is-given
Jul 9, 2026
Merged

#6159 - Assigning or revoking project permissions via the remote API fails when no role is given#6160
reckart merged 1 commit into
release/41.xfrom
bugfix/6159-Assigning-or-revoking-project-permissions-via-the-remote-API-fails-when-no-role-is-given

Conversation

@reckart

@reckart reckart commented Jul 8, 2026

Copy link
Copy Markdown
Member

What's in the PR

  • Make role parameter optional in permission assignment/revocation endpoints with no-op behavior for empty role lists
  • Update permission role names from USER/CURATOR/ADMIN to ANNOTATOR/CURATOR/MANAGER
  • Add test cases and mock client helpers for permission endpoints invoked without roles

How to test manually

  • No specific test procedure

Automatic testing

  • PR includes unit tests

Documentation

  • PR updates documentation

…fails when no role is given

- Make role parameter optional in permission assignment/revocation endpoints with no-op behavior for empty role lists
- Update permission role names from USER/CURATOR/ADMIN to ANNOTATOR/CURATOR/MANAGER
- Add test cases and mock client helpers for permission endpoints invoked without roles
@reckart reckart added this to the 41.2 milestone Jul 8, 2026
@reckart reckart self-assigned this Jul 8, 2026
@reckart reckart added the 🐛 Bug Something isn't working label Jul 8, 2026
@reckart reckart added this to Kanban Jul 8, 2026
@github-project-automation github-project-automation Bot moved this to 🔖 To do in Kanban Jul 8, 2026
@reckart
reckart changed the base branch from main to release/41.x July 8, 2026 21:33
@reckart
reckart merged commit e0f9af3 into release/41.x Jul 9, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from 🔖 To do to 🍹 Done in Kanban Jul 9, 2026
@reckart
reckart deleted the bugfix/6159-Assigning-or-revoking-project-permissions-via-the-remote-API-fails-when-no-role-is-given branch July 9, 2026 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bug Something isn't working Module: Remote API

Projects

Status: 🍹 Done

Development

Successfully merging this pull request may close these issues.

1 participant