feat(aa): rewrite the toAccess function to parse, convert and verify the access values.
This commit is contained in:
parent
05de39d92a
commit
656aa15836
10 changed files with 134 additions and 53 deletions
|
|
@ -40,7 +40,7 @@ func newMqueueFromLog(log map[string]string) Rule {
|
|||
return &Mqueue{
|
||||
RuleBase: newRuleFromLog(log),
|
||||
Qualifier: newQualifierFromLog(log),
|
||||
Access: toAccess(tokMQUEUE, log["requested"]),
|
||||
Access: Must(toAccess(tokMQUEUE, log["requested"])),
|
||||
Type: mqueueType,
|
||||
Label: log["label"],
|
||||
Name: log["name"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue