OpenConext / OpenConext/OpenConext-dashboard

Wrong use of SAB API

Offen
#653 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@teunfransen arbeitet bereits daran.

Seit 20.12.2024.

Vorherrschende Sprache
JavaScript
Sterne
8
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In the SABClient the method getSabEmailsForOrganization(String entityId, String role) is delegated to getPersonsInRoleForOrganization(entityId, role). However the last method expects an organisation GUID. As a result this will always return an empty List. Solution would be to use the Manage API to get the coin:institution_guid with the entityId as search parameter.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.