mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 20:14:57 +08:00
Don't validate if the app isn't permanent
This commit is contained in:
parent
775a7f85f7
commit
9dd69ecb70
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ defmodule Livebook.Apps do
|
||||||
Livebook.Hubs.TeamClient.user_app_access?(id, user.groups, slug)
|
Livebook.Hubs.TeamClient.user_app_access?(id, user.groups, slug)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def authorized?(%{permanent: false}, _user), do: true
|
||||||
|
|
||||||
@doc """
|
@doc """
|
||||||
Updates the given app info across the cluster.
|
Updates the given app info across the cluster.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue