Skip to main content
Version: 0.4.1

KQ040 — a Role is in a user-facing application

Error · role-in-user-facing-application · People

A Role sits in a Component or monolith that holds a user interface of its own.

A role sits in a component or a monolith that holds no user interface (spa, mobile-app, desktop-app) of its own. A role is the capacity in which people use an application through its screens. Move the role into the component or monolith that holds the user interface, its BFF where it has one.

Examples​

accounts is a backend with no user interface of its own, so a role in it raises KQ040:

platform banking { component accounts { role payer "Payer" in iam/customer-idp : customer } }

In the online banking app, whose screens its customers use, the role raises nothing:

platform banking { component web-app { role payer "Payer" in iam/customer-idp : customer } }

© 2026 Extenza Works. All rights reserved.