Thank you, Permit team, for generously open-sourci...
# permit-saas
t
Thank you, Permit team, for generously open-sourcing such amazing authorization technologies! In my experience, designing, visualizing, and testing authorization policies can be quite challenging. That’s why I built and open-sourced a playground to make these tasks easier and more intuitive, along with an AI Skill to help design authorization policies. Hope it helps the community! trantuananh1.github.io/authz-playground P.S. I’m really excited about Nexus-PDP and looking forward to the team open-sourcing it. Can’t wait!
🔥 2
a
Hi @Tuấn Anh, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
Thanks for sharing the playground. A tool for modeling RBAC, ReBAC, and ABAC policies and testing access in the browser fits well with how Permit models policies, since you can mix all three models in the same policy (1). On Nexus PDP: I don't have information about plans to open-source it. What the documentation does say is that Nexus PDP is a self-hosted PDP that ships as the
permitio/nexus-pdp
container image, with one container per Permit environment running in your own network. It is generally available. (2) For context on what is open source today, the Edge PDP (permitio/PDP), OPAL, cedar-agent, the Permit SDKs, and the Permit CLI are open source. (3) If you want to try your policies against a real PDP, the Edge PDP runs locally with Docker:
Copy code
docker run -it \  
 -p 7766:7000 \  
 --env PDP_API_KEY=<your-permit-api-key> \  
 --env PDP_DEBUG=True \  
 permitio/pdp-v2:latest
(3) You can then send a check to the PDP's
POST /allowed
endpoint:
Copy code
curl -X POST http://localhost:7766/allowed \  
 -H "Content-Type: application/json" \  
 -H "Authorization: Bearer <your-permit-api-key>" \  
 -d '{"user": "john@permit.io", "action": "create", "resource": {"type": "document", "tenant": "default"}}'
(3) The response body has an
allow
field, and
"allow": true
means the user is permitted. (3) Also, the OPAL discussion on Zanzibar-inspired frameworks notes that OPAL can sync data and policy to other policy stores. The maintainers say that this is on their roadmap and that they welcome contributions. If you're interested in extending OPAL, that thread is a good starting point. (4)
To learn more, see the sources I considered: [[1] Mix and Match Policies](https://docs.permit.io/how-to/build-policies/overview) [[2] Permit Nexus PDP](https://docs.permit.io/concepts/pdp/nexus-pdp) [[3] PDP overview](https://docs.permit.io/concepts/pdp/overview) [[4] Integration with Google Zanzibar inspired Authorization Frameworks like OpenFGA, SpiceDB, Ory Keto](https://github.com/permitio/opal/discussions/633)