Hello, some inline-comments... On Sunday, 17 November 2013 11:25:38 UTC, David Della Costa wrote:
As far as actually storing the roles in the database, they are simply a > stringified set of namespace-qualified keywords, like so: > > #{:my-app-ns/user} > #{:my-app-ns/admin :my-app-ns/some-other-role} This was the piece I was missing. I hope this helps, definitely let me know if I didn't answer one of your > questions. > It definitely helps. I think the last part of my problem is a language problem rather than anything else due to my lack of Clojure experience... 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} > And I'm very happy to hear the tutorial helped you get going, by the way! > It really was the most useful information I found on this subject, thank you! -- -- 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.