Skip to content

feat: add role client, PatchRole and DeleteRole endpoints#266

Merged
The127 merged 2 commits intomainfrom
feat/role-client-patch-delete
Apr 18, 2026
Merged

feat: add role client, PatchRole and DeleteRole endpoints#266
The127 merged 2 commits intomainfrom
feat/role-client-patch-delete

Conversation

@The127
Copy link
Copy Markdown
Owner

@The127 The127 commented Apr 18, 2026

Summary

  • Add PatchRoleRequestDto to api/roles.go
  • Add PatchRole and DeleteRole HTTP handlers and routes
  • Add RoleDelete permission constant and DeleteRole command
  • Add role.go client with Create, List, Get, Patch, Delete
  • Wire Role(projectSlug) into ProjectClient

Test plan

  • PATCH /projects/{slug}/roles/{id} returns 204
  • DELETE /projects/{slug}/roles/{id} returns 204
  • RoleClient works end-to-end via operator e2e

Signed-off-by: karo <karolin.kostial@gmail.com>
@The127 The127 force-pushed the feat/role-client-patch-delete branch from 23fce52 to 41553e9 Compare April 18, 2026 18:13
@The127
Copy link
Copy Markdown
Owner Author

The127 commented Apr 18, 2026

Retriggering CI due to flaky TestKeyStrategy/RS256

Signed-off-by: karo <karolin.kostial@gmail.com>
@The127 The127 merged commit ac72b85 into main Apr 18, 2026
8 checks passed
@The127 The127 deleted the feat/role-client-patch-delete branch April 18, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant