wire up trigger to restart sync for ACL spider

This commit is contained in:
2025-09-07 20:24:04 +01:00
parent 5a068378fa
commit 2491fd2738
7 changed files with 46 additions and 3 deletions

View File

@@ -48,6 +48,15 @@ func (s *S) GetACLInfo() (name, description, documentation string) {
return
}
func (s *S) Syncer() {
for _, i := range s.ACL {
if i.Type() == s.Active.Load() {
i.Syncer()
break
}
}
}
func (s *S) Type() (typ string) {
for _, i := range s.ACL {
if i.Type() == s.Active.Load() {