Documentation: add SQL support via objection-authorize
See original GitHub issueHi! I am a daily user of casl
and over the past few years I’ve been using casl
along with objection-authorize
(a library that I’ve also been building for the past few years) to integrate casl
in both the frontend and the backend isomorphically, and perhaps more importantly, ACTUALLY use the casl
ACLs to filter/check SQL queries!
I understand that #8 is asking for Sequelize support, but it doesn’t lend itself to plugin support very neatly, and I’m a personal advocate of Objection.js (the SQL ORM of choice), and perhaps most importantly, it’s ALREADY proven to be working (see https://github.com/JaneJeon/blink for an example, especially under policies/
and models/
directory).
https://github.com/JaneJeon/objection-authorize has a full battery of tests that have been expanding over the years, and at this point I feel that it’s “battle-tested” enough to recommend to the general public. So I’d appreciate it if you could add objection-authorize
as an adapter for people using SQL + CASL, under the “Official Packages” in the documentation.
My hope is that with my library, people who’re looking for SQL support don’t have to overlook CASL because of the lack of support for SQL ORMs (and vice versa).
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:20 (8 by maintainers)
Top GitHub Comments
@JaneJeon I added a note about 3rd part packages.
I’m sorry but I don’t want to maintain that list. Once somebody adds something to my code, I will need to support it. When amount of that packages grow and everybody will want to put own package in docs, it will become a nightmare for me because:
I think that I can spend my time more effectively 😃
Sorry @JaneJeon when you have a little kid Open Source activities start to move a bit slower 😃. I definitely will take a look but it will take some time