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

       [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}))}]])
    :dismiss-self (:dismiss-self props)
    :ok-button
    [comps/Button {:text "Save"

       (mapv
         (fn [i]
           (let [[user-id access-level] (common/get-text refs (str "acl-key" i) (str "acl-value" i))]
             {:email user-id :accessLevel (js/parseInt access-level)}))
         (range (count (:acl-vec @state))))))
   :persist-acl
   (fn [{:keys [props state]}]
     (swap! state assoc :saving? true)
     (let [filtered-acl (->> (:acl-vec @state)
                          (filter #(not (empty? (:email %))))
                          (map #(update % :accessLevel index-to-access-level)))]
       (endpoints/call-ajax-orch
         {:endpoint (endpoints/update-workspace-acl (:workspace-id props))
