Implement global tokens.

This commit is contained in:
Juliusz Chroboczek
2025-08-12 18:13:14 +02:00
parent 630a316baf
commit b78b2c040d
4 changed files with 63 additions and 9 deletions
+3
View File
@@ -94,6 +94,9 @@ func (token *Stateful) match(group string) bool {
return true
}
if token.IncludeSubgroups {
if token.Group == "" {
return true
}
return strings.HasPrefix(group, token.Group + "/")
}
return false