Remove comment field from policy

This commit is contained in:
José Valim 2022-08-23 08:43:45 +02:00
parent 77c8804d62
commit bb243a5964

View file

@ -2,6 +2,6 @@ defmodule LivebookWeb.PolicyHook do
import Phoenix.LiveView
def on_mount(:private, _params, _session, socket) do
{:cont, socket |> assign(:policy, %{read: true, execute: true, comment: true, edit: true})}
{:cont, socket |> assign(:policy, %{read: true, execute: true, edit: true})}
end
end