mirror of
https://github.com/safing/portbase
synced 2025-09-10 23:34:42 +00:00
Start api revamp
This commit is contained in:
parent
6bee0bf2d7
commit
b246453a83
16 changed files with 452 additions and 45 deletions
|
@ -129,7 +129,7 @@ func (c *Controller) Put(r record.Record) (err error) {
|
|||
|
||||
// process subscriptions
|
||||
for _, sub := range c.subscriptions {
|
||||
if sub.q.Matches(r) {
|
||||
if r.Meta().CheckPermission(sub.local, sub.internal) && sub.q.Matches(r) {
|
||||
select {
|
||||
case sub.Feed <- r:
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue