[Bug] Organisation availability counter shows wrong count #2564

Open
opened 2026-09-14 12:39:19 +00:00 by EricvanSchaik · 0 comments
EricvanSchaik commented 2026-09-14 12:39:19 +00:00 (Migrated from github.com)

Description

Given an application where the access rules are configured as follows:

  1. Who can log in to the application? -> Everyone
  2. Collaborations from which organisations may connect? -> Only some
  3. Can a collaboration connect straight away? -> It depends

And given that the providing organisation is not SURF, the counter of available organisations is sometimes incorrect. It seems it adds the different SURF organisations to the counter, instead of only looking at the organisations given as an option for the app admin.

Severity

Low

Steps to Reproduce

  1. Go to https://sram.surf.nl/services/125/organisations

Expected Behavior

A description with "Connected to 1 collaboration & available for 1 organisation"

Actual Behavior

A description with "Connected to 1 collaboration & available for 5 organisations"

Screenshots or Logs

Image

Environment

SRAM production

Additional Context

No response

### Description Given an application where the access rules are configured as follows: 1. Who can log in to the application? -> Everyone 2. Collaborations from which organisations may connect? -> Only some 3. Can a collaboration connect straight away? -> It depends And given that the providing organisation is not SURF, the counter of available organisations is sometimes incorrect. It seems it adds the different SURF organisations to the counter, instead of only looking at the organisations given as an option for the app admin. ### Severity Low ### Steps to Reproduce 1. Go to https://sram.surf.nl/services/125/organisations ### Expected Behavior A description with "Connected to 1 collaboration & available for 1 organisation" ### Actual Behavior A description with "Connected to 1 collaboration & available for 5 organisations" ### Screenshots or Logs <img width="1600" height="456" alt="Image" src="https://github.com/user-attachments/assets/78541c12-ec7b-4c4c-a8e3-b6490d84ab87" /> ### Environment SRAM production ### Additional Context _No response_
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
eric/SBS#2564
No description provided.