mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-05-26 00:33:03 +02:00
Rename Topic to TopicPattern in Grant
This commit is contained in:
parent
c56814e7da
commit
936e95fd9e
3 changed files with 10 additions and 10 deletions
auth
|
@ -63,9 +63,9 @@ type User struct {
|
|||
|
||||
// Grant is a struct that represents an access control entry to a topic
|
||||
type Grant struct {
|
||||
Topic string
|
||||
Read bool
|
||||
Write bool
|
||||
TopicPattern string // May include wildcard (*)
|
||||
Read bool
|
||||
Write bool
|
||||
}
|
||||
|
||||
// Permission represents a read or write permission to a topic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue