Service Layer low complexity Shared Component mobile
0
Dependencies
1
Dependents
4
Entities
0
Integrations

Description

Checks the platform module registry at runtime to determine whether the mentor-program module is enabled for the current tenant. Returns a disabled-state signal consumed by the dashboard and navigator to hide the feature entirely when toggled off.

Feature: Career Workshops

workshop-module-guard

Sources & reasoning

The feature description explicitly states the module is toggled per tenant via the platform module registry and is inactive by default. A guard service is needed to enforce this at the UI and service layer without per-org code branches.

No source references — this artifact was included based on reasoning alone (see above).

Responsibilities

  • Query the enabled module set from the session or bootstrap response
  • Expose a boolean stream indicating whether mentor-program is active
  • Prevent navigation or API calls when the module is disabled

Interfaces

isModuleEnabled(areaId: String) → bool
modulesStream() → Stream<Set<String>>

Relationships

Dependents (1)

Components that depend on this component