Skip to content

Commit

Permalink
Merge pull request #52 from Dewberry/enhancement-check-permission-auth
Browse files Browse the repository at this point in the history
allow all users to check user permission
  • Loading branch information
ShaneMPutnam authored Jul 23, 2024
2 parents 7ad3820 + f04573f commit 9b8b150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func main() {
// e.PUT("/prefix/cross-bucket/copy", auth.Authorize(bh., writers...))

//auth
e.GET("/check_user_permission", auth.Authorize(bh.HandleCheckS3UserPermission, writers...))
e.GET("/check_user_permission", auth.Authorize(bh.HandleCheckS3UserPermission, allUsers...))

// Start server
go func() {
Expand Down

0 comments on commit 9b8b150

Please sign in to comment.