Skip to content

Commit

Permalink
allow tags list for privileged
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming committed Sep 10, 2024
1 parent e5e56bd commit 8407b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ func (c *CRProxy) ServeHTTP(rw http.ResponseWriter, r *http.Request) {

info.Host = c.getDomainAlias(info.Host)

if info.TagsList && c.disableTagsList {
if info.TagsList && !c.isPrivileged(r, nil) && c.disableTagsList {
emptyTagsList(rw, r)
return
}
Expand Down

0 comments on commit 8407b58

Please sign in to comment.