Sometimes you can't see the wood for the trees I guess, I have it working with this trivial change:
(defn credential-fn [username] (update-in (read-user username) [:roles] read-string)) Still learning the basics... On Sunday, 17 November 2013 17:04:27 UTC, wm.ma...@gmail.com wrote: > > Presumably when I read my user record from the database I need to > "de-stringify" the roles from the database column to an actual set for the > ":roles" rather than a string, so how do I do that for a string like this? > > #{:my-app-ns/admin :my-app-ns/some-other-role} > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.