        [comps/Button {:text "Add new" :style :add
                       :onClick #(do
                                  (react/call :capture-ui-state this)
-                                 (swap! state update-in [:acl-vec] conj {:userId "" :accessLevel READER}))}]])
+                                 (swap! state update-in [:acl-vec] conj {:email "" :accessLevel READER}))}]])
     :dismiss-self (:dismiss-self props)
     :ok-button
     [comps/Button {:text "Save"


(defn- build-acl-vec [acl-map]
  (mapv
    (fn [[k v]] {:userId k :accessLevel (access-level-to-index v)})
    acl-map))

(defn- render-acl-content [props state this]

                       :backgroundColor (when (< i (:count-orig @state)) (:background-gray style/colors))}
               :disabled (< i (:count-orig @state))
               :spellCheck false
               :defaultValue (:email acl-entry)})
            (style/create-select
              {:ref (str "acl-value" i)
               :style {:float "right" :width column-width :height 33}
