prbac-spicedb

command module
v0.0.0-...-f2ce234 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

prbac-spicedb

Implement the PRBAC API with a spicedb backend.

Development

Run prbac-spicedb with spicedb (using schema in /schema)

docker-compose up --build

Test using an endpoint like:

curl "http://localhost:8080/access/?application=playbook-dispatcher&username=alice"

Docker

docker build . -t quay.io/ciam_authz/prbac-spicedb
docker run -p8080:8080 --rm quay.io/ciam_authz/prbac-spicedb

Regenerate server code

oapi-codegen -config api/server.cfg.yaml api/openapi.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL