Skip to content

Commit 72d0c3e

Browse files
committed
chore(schema): add role support for constrained_by and governed_by
Roles can now be sources for constrained_by and governed_by relationships. This enables expressing that a role is constrained by invariants or governed by policies. Resolves issue #25
1 parent 6aae747 commit 72d0c3e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/endpoint-types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ export const RELATIONSHIP_ENDPOINT_TYPES: Record<
9898
"decision",
9999
"change",
100100
"invariant",
101+
"role",
101102
],
102103
to: ["invariant", "principle", "policy", "protocol", "concept"],
103104
},
@@ -208,6 +209,7 @@ export const RELATIONSHIP_ENDPOINT_TYPES: Record<
208209
"change",
209210
"policy",
210211
"artefact",
212+
"role",
211213
],
212214
to: ["policy", "protocol", "role", "principle", "invariant", "concept"],
213215
},

0 commit comments

Comments
 (0)