Resolve ambiguous /org/domain handler — Commerce nav was disappearing

FixSecurityService
Shipped
May 21, 2026 at 8:02 PM UTC
Author
Kamo
Commit
15fb9f3

SecurityController had a second **************** that collided with **************** Spring rejected the request with "Ambiguous handler methods mapped" → 500 → the kamo-internal SSR layout fell back to its hardcoded fallback feature list which omits POS, so organization.isPos came back false and the Commerce nav + settings entries vanished even though feature_type=21 (POS) is active in org_features. - Deleted the duplicate from SecurityController + cleaned up the now-unused FeatureService / AppliedModelEnforcementService autowires and the DevelopmentStageType / ServiceType imports. - Moved the **************** and applied-model effective-features projection from the deleted handler into **************** Marked @Transactional so features can lazy-load inside the request scope. - FeatureService injected via constructor on OrganizationController.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing