GeezerVison is showing github.com — feat(users): counsellor can list the admins of their own centre (Frontend#1915) by Storypapst · Pull Request #1489 · OpenResilienceInitiative/ORISO-UserService
Conversation
Problem — Counsellors cannot find or contact their centre's admins (OBP 2.1 #117). Refs OpenResilienceInitiative/ORISO-Frontend#1915.
Changes
GET /users/agencies/{agencyId}/admin-contacts → [{consultantId, displayName}], CONSULTANT_DEFAULT only; api/userservice.yaml updated.
- Caller must be a consultant of that centre (else 403, same for unknown centre); caller is never listed; no email/username returned.
- Lists only agency admins who are active consultants of the centre with a Matrix id — exactly who
POST /users/chat/internal-subset can invite.
AgencyAdminContactService + AdminAgencyRepository.findAgencyAdminIdsByAgencyId.
Verification (local, not yet on dev)
AgencyAdminContactServiceTest (5) + AgencyAdminContactsAuthorizationIT (3, full context): 8/8
spotless:check clean; codegen from yaml OK; full suite → CI
- Reviewer test plan: on dev as counsellor
GET own centre → admins; other centre → 403.
Frontend counterpart: follows in the ORISO-Frontend PR for #1915.
Generated by Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
…ntact (OBP 2.1 #117)
GET /users/agencies/{agencyId}/admin-contacts returns the agency admins of a
counselling centre the caller belongs to who can actually be invited into an
internal chat (also an active counsellor of the centre, with a chat identity).
Only id and internal display name are returned. A centre the caller is not a
counsellor of answers 403, existing or not. The caller is never listed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk
coderabbitai
Bot
commented
Oct 28, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.
Next included review available in 20 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used all 3 included reviews currently available. Your 72 included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.
Learn how review limits work.
Review configuration:
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 44f4517 and 6f58820.
Files ignored due to path filters: 1
-
api/userservice.yaml is excluded by none and included by none
Files selected for processing: 7
-
src/main/java/de/caritas/cob/userservice/api/adapters/web/controller/UserController.java
src/main/java/de/caritas/cob/userservice/api/config/auth/SecurityConfig.java
src/main/java/de/caritas/cob/userservice/api/port/out/AdminAgencyRepository.java
src/main/java/de/caritas/cob/userservice/api/service/AgencyAdminContactService.java
src/test/java/de/caritas/cob/userservice/api/adapters/web/controller/AgencyAdminContactsAuthorizationIT.java
src/test/java/de/caritas/cob/userservice/api/adapters/web/controller/UserControllerIT.java
src/test/java/de/caritas/cob/userservice/api/service/AgencyAdminContactServiceTest.java
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-10-28T18:13:37.333940Z |
114b79b |
PR opened |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
shazia-k
shazia-k approved these changes
Shirloin
Awaiting requested review from Shirloin
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.