           [:a {:on-click #( om/set-state! owner :confirm-delete? true)}
            (b/icon :remove) " Delete"]])))))
 
-(defn columns [owner]
+(defn user-roles [user user-auth-store roles-store]
+  (let [user-id (get user "keyId")
+        role-ids (map #(get % "roleId")
+                      (user-auth-store/get-by-user-id user-auth-store user-id))
+        role-names (->> role-ids
+                        (map #(store/get-role roles-store %))
+                        (map #(get % "name")))]
+    (s/join ", " role-names)))
+
+(defn columns [owner user-auth-store roles-store]
   (let [on-action (fn [user]
                     (om/set-state! owner :current-user-id (get user "keyId")))]
     [{:title "User name"

     {:title "Email"
      :cell-fn #(get % "emailAddress")
      :sort-by "emailAddress"}
     {:title "Permission list"
      :cell-fn #(if (= (get % "permissionList") "10")
                  "Admin"
                  "User")}
     {:title "Actions"
      :component user-actions
      :component-data-fn (fn [user]


    om/IDidMount
    (did-mount [this]
      (dispatch :fetch-users nil)
      (dispatch :user-auth/fetch nil)
      (dispatch :roles/fetch nil))

    om/IRenderState
    (render-state [this {:keys [current-user-id] :as state}]
