by hsluoyz on 4/25/21, 5:25 PM with 29 comments
by FooBarWidget on 4/25/21, 6:47 PM
Does anybody else have a better experience with Casbin, or have recommendations on a CanCanCan-like alternative for Go?
by Ideabile on 4/25/21, 6:43 PM
by prpl on 4/25/21, 6:48 PM
by lmeyerov on 4/25/21, 11:50 PM
Curious on other experiences / alternatives. Ex: We're trying to keep the CMS parts of our stack especially boring, so django/postgres/casbin is surprisingly tight, while DB backing of a user's/org's custom ACL/RBAC sharing rules in say OPA seems more like a science project (despite looking like a great project when zoomed out), based on the docs (https://www.openpolicyagent.org/docs/latest/external-data/)
The casbin<>db integration decision was pretty wise, vs the continuing trend of policy engines bringing their own infra, and thus 'the tail wagging the dog'. I'd love to see someone figuring out RBAC/ABAC+ACLs as DB-native ~RLS, instead of having to introduce an extra moving piece of infra for every DB query, when the DB is right there!
by edoceo on 4/25/21, 6:50 PM
its a neat design, its a nice promise but more of a reference for building the tightly integrated RBAC (or whatever) that you need.
by TechBro8615 on 4/25/21, 6:51 PM
My main concern is stability, e.g. will this project be around in three years, and if not, is it grokkable and stable enough that the community could understand and maintain it?
We ended up rolling our own authn (kind of regrettable, but at least gives us some predictability and one less thing to update) but have not yet implemented authz.
Would be curious to hear from anyone who's recently chosen between these options (or others) and is happy with their choice.
by obiwanpallav1 on 4/26/21, 5:09 AM
Our data model was N Level hierarchies of entities for each tenant and these hierarchies followed inheritance for roles.
We made some policies in OPA and the membership data was present in the DB which was sent to OPA at startup. Then any diff made in membership was subsequently also sent to the OPA as well.
by wkrause on 4/25/21, 9:09 PM
by motohagiography on 4/25/21, 6:59 PM
A library you can build into your application for doing policy AuthZ without having to deal with a centralized policy repository, while moving AuthN to your IAM gateway is a huge deal in enterprise envirionments.
by toxik on 4/25/21, 7:07 PM
by lahoda-xyz on 4/26/21, 5:06 AM