KQ275 — a confidentiality is one of the repository's levels
Error · confidentiality-is-a-level · Data
A Domain Object's confidentiality is one of the levels the repository's confidentiality-levels setting lists.
A domain object's confidentiality is a level the repository doesn't list in confidentiality-levels, by default public, internal, confidential and restricted. A level nobody listed can't be ordered or recognized. Use one of the repository's levels, or add yours to kanoniq.repository.json in its place in the order, least sensitive first.
Examples
The price list states confidentiality secret, a level the default repository doesn't list, so it raises KQ275:
object price-list "Price list" : sales/selling confidentiality secret
component pricing "Pricing" : backend {
sql prices-db "Prices DB" {
root price-list authoritative origin
identifier "Price list Id"
}
}
The price list stating restricted, one of the default levels, raises nothing:
object price-list "Price list" : sales/selling confidentiality restricted
component pricing "Pricing" : backend {
sql prices-db "Prices DB" {
root price-list authoritative origin
identifier "Price list Id"
}
}
© 2026 Extenza Works. All rights reserved.