feat(aa): add requirements map.
This commit is contained in:
parent
e38f5b4637
commit
744c745394
14 changed files with 163 additions and 10 deletions
|
|
@ -6,6 +6,12 @@ package aa
|
|||
|
||||
const tokCHANGEPROFILE = "change_profile"
|
||||
|
||||
func init() {
|
||||
requirements[tokCHANGEPROFILE] = requirement{
|
||||
"mode": []string{"safe", "unsafe"},
|
||||
}
|
||||
}
|
||||
|
||||
type ChangeProfile struct {
|
||||
RuleBase
|
||||
Qualifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue