Skip to content

Commit

Permalink
Add support for associating roles with privileges
Browse files Browse the repository at this point in the history
  • Loading branch information
Rene2mt committed Jan 15, 2024
1 parent 4f02dac commit d50a31b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/metaschema/oscal_implementation-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,19 @@
<field ref="function-performed" min-occurs="1" max-occurs="unbounded">
<group-as name="functions-performed" in-json="ARRAY"/>
</field>

<!-- Todo: will need to create contstraint such that referenced role-id must exist in the metadata -->
<field ref="responsible-role" min-occurs="0" max-occurs="unbounded">
<group-as name="responsible-roles" in-json="ARRAY"/>
</field>

</model>
<constraints>
<!-- References to role-id -->
<index-has-key name="index-metadata-role-id" target="responsible-role/@role-id">
<key-field target="@role-id"/>
</index-has-key>
</constraints>
</define-assembly>
<define-field name="function-performed" as-type="string">
<formal-name>Functions Performed</formal-name>
Expand Down

0 comments on commit d50a31b

Please sign in to comment.