How to specify multiple path in the json file? #3716
Replies: 1 comment
-
Use regular expressions: - user: any
# Password. Not used in case of 'any' user.
pass:
# IPs or networks allowed to use this user. An empty list means any IP.
ips: []
# List of permissions.
permissions:
# Available actions are: publish, read, playback, api, metrics, pprof.
- action: read
# Paths can be set to further restrict access to a specific path.
# An empty path means any path.
# Regular expressions can be used by using a tilde as prefix.
path: ~(one|two|three) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
using this method for allowing anonymous users to view only 3 paths returns me this error:
ERR: json: cannot unmarshal array into Go struct field alias.authInternalUsers of type string
Beta Was this translation helpful? Give feedback.
All reactions