mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-30 16:54:29 +08:00
Remove comment field from policy
This commit is contained in:
parent
77c8804d62
commit
bb243a5964
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@ defmodule LivebookWeb.PolicyHook do
|
||||||
import Phoenix.LiveView
|
import Phoenix.LiveView
|
||||||
|
|
||||||
def on_mount(:private, _params, _session, socket) do
|
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
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue