Heh--I know exactly what you mean, had the exact same kind of experience myself many times. In any case, glad you got it working!
(2013/11/18 4:42), [email protected] wrote: > 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, [email protected] 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 [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/groups/opt_out. -- -- 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/groups/opt_out.
