Skip to main content
Version: 0.4.0

KQ071 — a Role is never in an anonymous application

Error · no-role-in-anonymous-application · People

A Component or monolith marked anonymous holds no Role.

A role sits in a component or monolith marked anonymous, which says nobody signs into it. If people do sign in, remove anonymous; if nobody does, remove the role.

Examples​

A role in an application marked anonymous raises KQ071:

platform banking { component loans "Loans" : user-facing-app anonymous { spa loans-ui "Loans" role applicant "Applicant" in iam/customer-idp : customer } }

Without the mark, since people do sign in, it raises nothing:

platform banking { component loans "Loans" : user-facing-app { spa loans-ui "Loans" role applicant "Applicant" in iam/customer-idp : customer } }

© 2026 Extenza Works. All rights reserved.