View Organisation-Specific Badge Catalogue
The Badge Repository stores badge definitions with an organisation scope field, and the Achievement Service evaluates eligibility only against badges scoped to the user's active organisation. HLF uses certification-linked badges (e.g. completing specific courses triggers a badge), while Blindeforbundet uses assignment-count badges tied to the honorarium threshold schedule. The Achievements screen queries the repository with the user's organisation context and renders only the matching badge catalogue. Users who are members of multiple organisations see the catalogue for their currently active organisation context, consistent with the multi-organisation membership model used across the app.
User Story
Acceptance Criteria
- Given a peer mentor belongs to HLF, when they open the Achievements screen, then only HLF-scoped badges are displayed and no Blindeforbundet assignment-count badges appear
- Given a peer mentor belongs to Blindeforbundet, when they open the Achievements screen, then only Blindeforbundet-scoped badges appear including the 3rd and 15th assignment milestone badges
- Given a user is a member of multiple organisations, when they switch their active organisation context, then the Achievements screen refreshes and displays the badge catalogue for the newly active organisation
- Given an administrator adds a new badge definition to an organisation's catalogue in the repository, when a user from that organisation opens the Achievements screen, then the new badge appears without requiring an app update
- Given two organisations have a badge with the same name but different thresholds, when each organisation's users view the badge, then each sees the criteria appropriate to their own organisation
Business Value
Each partner organisation has a structurally different peer mentor programme. HLF's recognition is tied to professional certification while Blindeforbundet's is tied to assignment completion counts that directly determine honorarium eligibility. A single shared badge catalogue would be confusing and commercially unacceptable. Per-organisation scoping is what makes the recognition system reusable across the platform without requiring separate apps or codebases for each organisation.
Components
- Achievements Screen ui
- Badge Widget ui
- Achievement Service service
- Badge Repository data