File tree Expand file tree Collapse file tree 2 files changed +18
-27
lines changed Expand file tree Collapse file tree 2 files changed +18
-27
lines changed Original file line number Diff line number Diff line change 1
- a (blacklist (path "/provider")
2
- (path "/provider/**")
3
- (path "/bot")
4
- (path "/bot/**")
5
- (path "/i/**"))
1
+ a (blacklist (path "(/v[0-9]+)?/provider(/.*)?")
2
+ (path "(/v[0-9]+)?/bot(/.*)?")
3
+ (path "(/v[0-9]+)?/i/.*"))
6
4
7
- b (whitelist (path "/bot")
8
- (path "/bot/**"))
5
+ b (whitelist (regex "(/v[0-9]+)?/bot(/.*)?"))
9
6
10
- p (whitelist (path "/provider")
11
- (path "/provider/**"))
7
+ p (whitelist (regex "(/v[0-9]+)?/provider(/.*)?"))
12
8
13
9
# LegalHold Access Tokens
14
- la (whitelist (path " /notifications")
15
- (path "/ assets/v3/* *")
16
- (path "/ users")
17
- (path "/users/** "))
10
+ la (whitelist (regex "(/v[0-9]+)? /notifications")
11
+ (regex "(/v[0-9]+)?/ assets/v3/. *")
12
+ (regex "(/v[0-9]+)?/ users(/.*)? ")
13
+ (regex "(/v[0-9]+)?/legalhold/conversations/[^/]+ "))
Original file line number Diff line number Diff line change 1
- a (blacklist (path "/provider")
2
- (path "/provider/**")
3
- (path "/bot")
4
- (path "/bot/**")
5
- (path "/i/**"))
1
+ a (blacklist (path "(/v[0-9]+)?/provider(/.*)?")
2
+ (path "(/v[0-9]+)?/bot(/.*)?")
3
+ (path "(/v[0-9]+)?/i/.*"))
6
4
7
- b (whitelist (path "/bot")
8
- (path "/bot/**"))
5
+ b (whitelist (regex "(/v[0-9]+)?/bot(/.*)?"))
9
6
10
- p (whitelist (path "/provider")
11
- (path "/provider/**"))
7
+ p (whitelist (regex "(/v[0-9]+)?/provider(/.*)?"))
12
8
13
9
# LegalHold Access Tokens
14
- la (whitelist (path "/notifications")
15
- (path "/assets/v3/**")
16
- (path "/users")
17
- (path "/users/**")
18
- (path "/legalhold/conversations/*"))
10
+ la (whitelist (regex "(/v[0-9]+)?/notifications")
11
+ (regex "(/v[0-9]+)?/assets/v3/.*")
12
+ (regex "(/v[0-9]+)?/users(/.*)?")
13
+ (regex "(/v[0-9]+)?/legalhold/conversations/[^/]+"))
You can’t perform that action at this time.
0 commit comments