GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@Storypapst

@Storypapst Storypapst commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

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
All reactions
  • 👍 1 reaction
@claude
feat(users): counsellor can list the admins of their own centre to co…
114b79b
…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
@Storypapst
Storypapst requested review from Shirloin, hasanbarisgok and shazia-k October 28, 2026 18:11
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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
  • Source mode: Auto
  • Repository: OpenResilienceInitiative/ORISO-UserService
  • Branch: claude/obp-dev-blockers-ync2mf
  • File: .coderabbit.yaml
  • Commit: 6f58820
  • Layers: Repository YAML
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: 9537fada-49f2-425a-999c-e985cf43e74c
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Storypapst Storypapst mentioned this pull request Oct 28, 2026
Counsellors cannot see or contact their counselling-centre admins (OBP 2.1 #117) OpenResilienceInitiative/ORISO-Frontend#1915
Closed
3 tasks
@claude
test(users): mock AgencyAdminContactService in UserControllerIT (#1489 …
6f58820
…CI)

The new controller dependency was missing from the WebMvc slice, so the
context failed to load and all 134 UserControllerIT cases errored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012oHuLwgsF18sXNLUVhMCvk
shazia-k
shazia-k approved these changes Oct 29, 2026
View reviewed changes
@shazia-k
shazia-k merged commit 3358480 into dev Oct 29, 2026
17 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@shazia-k
shazia-k deleted the claude/obp-dev-blockers-ync2mf branch October 29, 2026 11:58
shazia-k
shazia-k approved these changes Oct 29, 2026
View reviewed changes
@Hassan9215 Hassan9215 mentioned this pull request Nov 5, 2026
Release UserService v2.0.15 #1602
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@shazia-k shazia-k shazia-k approved these changes
@hasanbarisgok hasanbarisgok Awaiting requested review from hasanbarisgok
@Shirloin Shirloin Awaiting requested review from Shirloin

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

3 participants

@Storypapst @shazia-k @claude
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.