https://github.com/permitio/rebac-rego-example
A Rego-based example of Relationship Based Access Control (ReBAC) and part of a tutorial on implementing ReBAC with OPA
https://github.com/permitio/rebac-rego-example
example
Last synced: 1 day ago
JSON representation
A Rego-based example of Relationship Based Access Control (ReBAC) and part of a tutorial on implementing ReBAC with OPA
- Host: GitHub
- URL: https://github.com/permitio/rebac-rego-example
- Owner: permitio
- Created: 2023-09-05T15:10:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-08T10:58:29.000Z (about 2 years ago)
- Last Synced: 2025-10-23T22:33:18.882Z (3 months ago)
- Topics: example
- Language: Open Policy Agent
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A Rego-based example of Relationship Based Access Control (ReBAC). Part of a tutorial on implementing [ReBAC with OPA](https://permit.io/blog/oparebac).
A complete and operational version of this code is available in the [Rego Playground](https://play.openpolicyagent.org/p/4qkNc0GtPP).
Clicking "Evaluate" in the Rego Playground will display the result: "allow": true