Don't validate if the app isn't permanent

This commit is contained in:
Alexandre de Souza 2025-07-15 16:58:59 -03:00
parent 775a7f85f7
commit 9dd69ecb70
No known key found for this signature in database
GPG key ID: E39228FFBA346545

View file

@ -86,6 +86,8 @@ defmodule Livebook.Apps do
Livebook.Hubs.TeamClient.user_app_access?(id, user.groups, slug)
end
def authorized?(%{permanent: false}, _user), do: true
@doc """
Updates the given app info across the cluster.
"""