                :id "privacy-private"
                :name "privacy"
                :checked private?
-               :onChange #(cast! :document-privacy-changed
-                                 {:doc-id doc-id
-                                  :setting :document.privacy/private})}]
+               :onChange #(if cant-edit-reason
+                            (utils/stop-event %)
+                            (cast! :document-privacy-changed
+                                   {:doc-id doc-id
+                                    :setting :document.privacy/private}))}]
              [:label.privacy-label
               {:for "privacy-private"
                :role "button"}

               :id "privacy-public"
               :name "privacy"
               :checked (not private?)
               :onChange #(cast! :document-privacy-changed
                                 {:doc-id doc-id
                                  :setting :document.privacy/public})}]
             [:label.privacy-label
              {:for "privacy-public"
               :role "button"}

            invite-email (get-in app state/invite-email-path)
            doc-id (:document/id app)
            doc (doc-model/find-by-id @db doc-id)
            private? (= :document.privacy/private (:document/privacy doc))
            cant-edit-reason (cond (:team app)
                                   nil

                                   (not (contains? (get-in app [:cust :flags]) :flags/private-docs))
                                   :no-private-docs-flag

                                   (not (auth/owner? @db doc (get-in app [:cust])))
                                   :not-creator)]
        (html
         [:div.menu-view
          (if private?
            (om/build private-sharing app)
            (om/build public-sharing app))

          (case cant-edit-reason
            :no-private-docs-flag
            [:div.vein.make.stick
             (common/icon (if private? :lock :globe))
             [:a {:href "/pricing"}
              "Start your trial to create private docs"]]
            :not-creator
            [:div.vein.make.stick
             (common/icon (if private? :lock :globe))
             "Only the creator can change privacy"]
            [:form.privacy-select.vein.make.stick
             [:input.privacy-radio
              {:type "radio"
