Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavohenrique/gorbac
https://github.com/gustavohenrique/gorbac
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/gustavohenrique/gorbac
- Owner: gustavohenrique
- License: apache-2.0
- Created: 2020-12-13T14:29:13.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-03T13:17:45.000Z (about 3 years ago)
- Last Synced: 2024-06-20T05:06:11.273Z (7 months ago)
- Language: Go
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## GoRBAC
> Role Base Access Control for Go
[![Coverage Status](https://coveralls.io/repos/github/gustavohenrique/gorbac/badge.svg?branch=main)](https://coveralls.io/github/gustavohenrique/gorbac?branch=main)
## Usage
Create a file containing roles.
```sh
# A role to allow read all orders and update only orders paid and with amount less than 1000
cat > /tmp/roles.yaml <