Skip to content

Commit 8b9f056

Browse files
committed
feat: add RS ACl
1 parent e65b203 commit 8b9f056

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

model/acl/acl.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const (
7070
Tasks
7171
Termvectors
7272
Update
73+
ReactiveSearch
7374
)
7475

7576
// NewContext returns a new context with the given ACL.

model/category/category.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ func (c Category) ACLs() []acl.ACL {
238238
acl.Ingest,
239239
acl.Snapshot,
240240
}
241+
case ReactiveSearch:
242+
return []acl.ACL{
243+
acl.ReactiveSearch,
244+
}
241245
default:
242246
return []acl.ACL{}
243247
}

0 commit comments

Comments
 (0)