Skip to content

Commit

Permalink
fix: add back stamps endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
notanatol committed Nov 3, 2021
1 parent aff6f27 commit a70fbac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ func applyPolicies(e *casbin.Enforcer) error {
{"creator", "/soc/*/*", "POST"},
{"creator", "/feeds/*/*", "POST"},
{"consumer", "/feeds/*/*", "GET"},
{"maintainer", "/stamps", "GET"},
{"maintainer", "/stamps/*", "GET"},
{"maintainer", "/stamps/*/*", "POST"},
{"maintainer", "/addresses", "GET"},
{"maintainer", "/blocklist", "GET"},
{"maintainer", "/connect/*", "POST"},
Expand Down

0 comments on commit a70fbac

Please sign in to comment.