hi, is there a clojure library that can do the Authorization part similar to what Apache Shiro does - ?
currentUser.isPermitted( "lightsaber:wield" )
currentUser.isPermitted( "winnebago:drive:eagle5" )
https://shiro.apache.org/10-minute-tutorial.html
https://shiro.apache.org/java-authorization-guide.html@eugen.stan, https://github.com/theronic/eacl is a situated https://en.wikipedia.org/wiki/Relationship-based_access_control authorization library based on https://authzed.com/spicedb, built in Clojure and backed by Datomic, that directly addresses the problem of fine-grained hierarchical permissions: • Source: https://github.com/theronic/eacl • Rationale here: https://eacl.dev/ • EACL Version 6.1 offers sub-millisecond performance. Refer https://x.com/PetrusTheron/status/1996344248925294773. • EACL is used at https://cloudafrica.net/. (I am the author.)
@eugen.stan I used this one https://github.com/tuhlmann/permissions
Use Shiro via Java interop?
thanks, planning to do that, was curios about solutions in clojure land
do you have experience with shiro?
also curios for some feedback
I recently had this question and ended up writing my own using clojure's hierarchy system. Which is to say, I didn't find a good library that already existed.
I think shiro is a good library but does not have integration with clojure / ring