Hi Dmitri! If I understand it well, is a very similar system already implemented in buddy: http://niwibe.github.io/buddy/#_access_rules_system
Regards. Andrey. 2014-12-09 19:11 GMT+01:00 Dmitri <[email protected]>: > https://github.com/yogthos/ring-access-rules > > Friend is a great library, but it's definitely not easy to get into and I > found it can actually make the workflow logic difficult to follow in some > cases. > > My experience has been that for apps I work on all I want is to apply a > decision function to a route to see if it should be accessible. The > decision logic really tends to be application specific. It's easy to write > a custom access control function for a specific scenario, but it's > difficult to make a generic one that works well for any scenario. This > library provides a simple way to associate access control functions with > routes and leaves the workflow up to the user. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Andrey Antukh - Андрей Антух - <[email protected]> / <[email protected] > http://www.niwi.be <http://www.niwi.be/page/about/> https://github.com/niwibe -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
