feat(aa): add requirements map.
This commit is contained in:
parent
e38f5b4637
commit
744c745394
14 changed files with 163 additions and 10 deletions
|
|
@ -10,6 +10,16 @@ import (
|
|||
|
||||
const tokDBUS = "dbus"
|
||||
|
||||
func init() {
|
||||
requirements[tokDBUS] = requirement{
|
||||
"access": []string{
|
||||
"send", "receive", "bind", "eavesdrop", "r", "read",
|
||||
"w", "write", "rw",
|
||||
},
|
||||
"bus": []string{"system", "session", "accessibility"},
|
||||
}
|
||||
}
|
||||
|
||||
type Dbus struct {
|
||||
RuleBase
|
||||
Qualifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue