               (common/icon :users)
               [:span "Request Access"]])
 
-           ;; (if (auth/has-document-access? app (:document/id app))
-           ;;   [:a.menu-item {:on-click #(cast! :invite-menu-opened)
-           ;;                  :role "button"}
-           ;;    (common/icon :users)
-           ;;    [:span "Invite Collaborators"]]
-
-           ;;   [:a.menu-item {:on-click #(cast! :document-permissions-opened)
-           ;;                  :role "button"}
-           ;;    (common/icon :users)
-           ;;    [:span "Request Access"]])
-
-           ;; (if (and (contains? (get-in app [:cust :flags]) :flags/private-docs)
-           ;;          (auth/admin? @db doc {:cust/uuid (get-in app [:cust :uuid])}))
-           ;;   [:a.menu-item {:on-click #(cast! :manage-permissions-opened)
-           ;;                  :role "button"}
-           ;;    (common/icon :users)
-           ;;    [:span "Manage permissions and privacy"]])
-
            [:a.menu-item {:on-click #(cast! :shortcuts-menu-opened)
                           :class "mobile-hidden"
                           :role "button"}

      (let [{:keys [cast! db]} (om/get-shared owner)
            doc-id (:document/id app)
            doc (doc-model/find-by-id @db doc-id)
            private? (= :document.privacy/private (:document/privacy doc))
            permission-grant-email (get-in app state/permission-grant-email-path)
            permissions (ds/touch-all '[:find ?t :in $ ?doc-id :where [?t :permission/document ?doc-id]] @db doc-id)
            access-grants (ds/touch-all '[:find ?t :in $ ?doc-id :where [?t :access-grant/document ?doc-id]] @db doc-id)

            [:span "Blog"]]
           (om/build auth-link app)]])))))



(defn private-sharing [app owner]
  (reify
