feat(aa): add requirements map.

This commit is contained in:
Alexandre Pujol 2024-05-25 22:01:29 +01:00
parent e38f5b4637
commit 744c745394
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 163 additions and 10 deletions

View file

@ -16,6 +16,16 @@ const (
tokSUBSET = "subset"
)
func init() {
requirements[tokFILE] = requirement{
"access": {"m", "r", "w", "l", "k"},
"transition": {
"ix", "ux", "Ux", "px", "Px", "cx", "Cx", "pix", "Pix", "cix",
"Cix", "pux", "PUx", "cux", "CUx", "x",
},
}
}
type File struct {
RuleBase
Qualifier