Skip to content

Commit

Permalink
add capabilities path to the resource path check
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christofas committed Oct 6, 2021
1 parent b603abf commit 85a2935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/auth/scope/resourceinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ func checkResourcePath(path string) bool {
"/data",
"/app/open",
"/archiver",
"/ocs/v2.php/cloud/capabilities",
"/ocs/v1.php/cloud/capabilities",
}
for _, p := range paths {
if strings.HasPrefix(path, p) {
Expand Down

0 comments on commit 85a2935

Please sign in to comment.