      (swap! state assoc :saving? true)
      (swap! state assoc :acl-vec
        (flatten [{:user "public" :role
-                 (if (:public-status @state) "READER" "NO ACCESS")}
+                 (if (:public-status @state) reader-level no-access-level)}
        (react/call :capture-ui-state this)]))
      (endpoints/call-ajax-orch
        {:endpoint (endpoints/persist-agora-method-acl (:selected-entity props))

        numJustPublic (count justPublic)]
      (if (<= numJustPublic 0)
      ;if public isn't in the acl-return NO ACCESS
      "NO ACCESS"
      (let [lastPublic (get justPublic (- numJustPublic 1))
            lastPublicAccessLevel (get lastPublic :role)]
        ;if public is in the acl return the value of the last one

  {:render
   (fn [{:keys [props refs state this]}]
     [dialog/Dialog
      {:width "75%"
       :blocking? true
       :dismiss-self (:dismiss-self props)
