News for hackers. Stuff that matters.
Re:Show HN: RBAC for your REST API in 2 minutes by ogazitt on Tuesday March 01, 2022 @11:00AM (#30515731)
By convention, we generate a package for every API definition in the OpenAPI spec. But the calling application can decide which package to use when authorizing an operation, so you can use a single policy for multiple endpoints.
Re:Show HN: RBAC for your REST API in 2 minutes by itsronenh on Tuesday March 01, 2022 @11:04AM (#30515802)
So this is basically a tool for generating and testing Rego policies from an OpenAPI spec. Very cool!