From d3f45b528589c704b845f16554ad05faaf4fa319 Mon Sep 17 00:00:00 2001 From: Jamil Date: Thu, 21 Dec 2023 10:25:35 -0800 Subject: [PATCH] Rename Authorizations -> Activity (#2979) Authorizations creates confusion with Authentication. What this is referring to most closely resembles "Network Activity", so renaming to Activity. Fixes https://firezonehq.slack.com/archives/C04HRQTFY0Z/p1703141913585009?thread_ts=1703105862.234659&cid=C04HRQTFY0Z --------- Signed-off-by: Jamil Co-authored-by: Andrew Dryga --- elixir/apps/web/lib/web/live/actors/show.ex | 7 +++++-- elixir/apps/web/lib/web/live/clients/show.ex | 7 +++++-- elixir/apps/web/lib/web/live/policies/show.ex | 7 +++++-- elixir/apps/web/lib/web/live/resources/show.ex | 7 +++++-- .../settings/identity_providers/openid_connect/show.ex | 2 +- .../web/live/settings/identity_providers/system/show.ex | 2 +- 6 files changed, 22 insertions(+), 10 deletions(-) diff --git a/elixir/apps/web/lib/web/live/actors/show.ex b/elixir/apps/web/lib/web/live/actors/show.ex index 3737b6b68..e191fe236 100644 --- a/elixir/apps/web/lib/web/live/actors/show.ex +++ b/elixir/apps/web/lib/web/live/actors/show.ex @@ -185,7 +185,10 @@ defmodule Web.Actors.Show do <.section> - <:title>Authorizations + <:title>Activity + <:help> + Attempts to access resources by this actor. + <:content> <.table id="flows" rows={@flows} row_id={&"flows-#{&1.id}"}> <:col :let={flow} label="AUTHORIZED AT"> @@ -223,7 +226,7 @@ defmodule Web.Actors.Show do <:empty> -
No authorizations to display
+
No activity to display.
diff --git a/elixir/apps/web/lib/web/live/clients/show.ex b/elixir/apps/web/lib/web/live/clients/show.ex index 4adcc2f8e..40bb013d7 100644 --- a/elixir/apps/web/lib/web/live/clients/show.ex +++ b/elixir/apps/web/lib/web/live/clients/show.ex @@ -100,7 +100,10 @@ defmodule Web.Clients.Show do <.section> - <:title>Authorizations + <:title>Activity + <:help> + Attempts by the actor using this client to access resources. + <:content> <.table id="flows" rows={@flows} row_id={&"flows-#{&1.id}"}> <:col :let={flow} label="AUTHORIZED AT"> @@ -135,7 +138,7 @@ defmodule Web.Clients.Show do <:empty> -
No authorizations to display
+
No activity to display.
diff --git a/elixir/apps/web/lib/web/live/policies/show.ex b/elixir/apps/web/lib/web/live/policies/show.ex index 1a172e607..ebb34885d 100644 --- a/elixir/apps/web/lib/web/live/policies/show.ex +++ b/elixir/apps/web/lib/web/live/policies/show.ex @@ -119,8 +119,11 @@ defmodule Web.Policies.Show do <.section> <:title> - Authorizations + Activity + <:help> + Attempts by actors to access the resource governed by this policy. + <:content> <.table id="flows" rows={@flows} row_id={&"flows-#{&1.id}"}> <:col :let={flow} label="AUTHORIZED AT"> @@ -151,7 +154,7 @@ defmodule Web.Policies.Show do <:empty> -
No authorizations to display
+
No activity to display.
diff --git a/elixir/apps/web/lib/web/live/resources/show.ex b/elixir/apps/web/lib/web/live/resources/show.ex index ae978a236..60f584643 100644 --- a/elixir/apps/web/lib/web/live/resources/show.ex +++ b/elixir/apps/web/lib/web/live/resources/show.ex @@ -175,8 +175,11 @@ defmodule Web.Resources.Show do <.section> <:title> - Authorizations + Activity + <:help> + Attempts by actors to access this resource. + <:content> <.table id="flows" rows={@flows} row_id={&"flows-#{&1.id}"}> <:col :let={flow} label="AUTHORIZED AT"> @@ -224,7 +227,7 @@ defmodule Web.Resources.Show do <:empty> -
No authorizations to display
+
No activity to display.
diff --git a/elixir/apps/web/lib/web/live/settings/identity_providers/openid_connect/show.ex b/elixir/apps/web/lib/web/live/settings/identity_providers/openid_connect/show.ex index 9bcd7c7c6..b00510efb 100644 --- a/elixir/apps/web/lib/web/live/settings/identity_providers/openid_connect/show.ex +++ b/elixir/apps/web/lib/web/live/settings/identity_providers/openid_connect/show.ex @@ -52,7 +52,7 @@ defmodule Web.Settings.IdentityProviders.OpenIDConnect.Show do <.button :if={is_nil(@provider.disabled_at)} phx-click="disable" - data-confirm="Are you sure want to disable this provider? All authorizations will be revoked and actors won't be able to use it to access Firezone." + data-confirm="Are you sure want to disable this provider? All users signed into this provider will be immediately signed out." > Disable diff --git a/elixir/apps/web/lib/web/live/settings/identity_providers/system/show.ex b/elixir/apps/web/lib/web/live/settings/identity_providers/system/show.ex index 1ab645b58..ed4ff1e6a 100644 --- a/elixir/apps/web/lib/web/live/settings/identity_providers/system/show.ex +++ b/elixir/apps/web/lib/web/live/settings/identity_providers/system/show.ex @@ -45,7 +45,7 @@ defmodule Web.Settings.IdentityProviders.System.Show do <.button :if={is_nil(@provider.disabled_at)} phx-click="disable" - data-confirm="Are you sure want to disable this provider? All authorizations will be revoked and actors won't be able to use it to access Firezone." + data-confirm="Are you sure want to disable this provider? All users signed into this provider will be immediately signed out." > Disable Identity Provider