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 <jamilbk@users.noreply.github.com>
Co-authored-by: Andrew Dryga <andrew@dryga.com>
This commit is contained in:
Jamil
2023-12-21 10:25:35 -08:00
committed by GitHub
parent 2c169d58ff
commit d3f45b5285
6 changed files with 22 additions and 10 deletions

View File

@@ -185,7 +185,10 @@ defmodule Web.Actors.Show do
</.section>
<.section>
<:title>Authorizations</:title>
<:title>Activity</:title>
<:help>
Attempts to access resources by this actor.
</:help>
<: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
</.link>
</:col>
<:empty>
<div class="text-center text-neutral-500 p-4">No authorizations to display</div>
<div class="text-center text-neutral-500 p-4">No activity to display.</div>
</:empty>
</.table>
</:content>

View File

@@ -100,7 +100,10 @@ defmodule Web.Clients.Show do
</.section>
<.section>
<:title>Authorizations</:title>
<:title>Activity</:title>
<:help>
Attempts by the actor using this client to access resources.
</:help>
<: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
</.link>
</:col>
<:empty>
<div class="text-center text-neutral-500 p-4">No authorizations to display</div>
<div class="text-center text-neutral-500 p-4">No activity to display.</div>
</:empty>
</.table>
</:content>

View File

@@ -119,8 +119,11 @@ defmodule Web.Policies.Show do
<.section>
<:title>
Authorizations
Activity
</:title>
<:help>
Attempts by actors to access the resource governed by this policy.
</:help>
<: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
</.link>
</:col>
<:empty>
<div class="text-center text-neutral-500 p-4">No authorizations to display</div>
<div class="text-center text-neutral-500 p-4">No activity to display.</div>
</:empty>
</.table>
</:content>

View File

@@ -175,8 +175,11 @@ defmodule Web.Resources.Show do
<.section>
<:title>
Authorizations
Activity
</:title>
<:help>
Attempts by actors to access this resource.
</:help>
<: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
</.link>
</:col>
<:empty>
<div class="text-center text-neutral-500 p-4">No authorizations to display</div>
<div class="text-center text-neutral-500 p-4">No activity to display.</div>
</:empty>
</.table>
</:content>

View File

@@ -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
</.button>

View File

@@ -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
</.button>