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

                     :on-range (fn [offset limit]
                                 (om/set-state! owner :pagination {:offset offset :limit limit}))
                     :key-fn #(get % "keyId")
                     :columns (columns owner)})]]
        [:div.mypanel {:class (if current-user-id "opened" "closed")}
         [:div
          (om/build user-details {:user (if (or (nil? current-user-id)

          [:a {:on-click #( om/set-state! owner :confirm-delete? true)}
           (b/icon :remove) " Delete"]])))))

(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"
