From 0e6400bfeacc841781695fc215be333379935bf2 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 28 Dec 2022 12:51:39 +0100 Subject: [PATCH] web/admin: improve user/group UX for adding/removing users to and from groups Signed-off-by: Jens Langhammer --- locale/en/LC_MESSAGES/django.po | 6 +- web/src/admin/AdminInterface.ts | 5 +- web/src/admin/groups/RelatedGroupList.ts | 97 ++++++++++++++++- web/src/admin/users/RelatedUserList.ts | 126 ++++++++++++++++++++--- web/src/elements/forms/DeleteBulkForm.ts | 2 +- web/src/locales/de.po | 52 +++++++++- web/src/locales/en.po | 54 +++++++++- web/src/locales/es.po | 52 +++++++++- web/src/locales/fr_FR.po | 52 +++++++++- web/src/locales/pl.po | 52 +++++++++- web/src/locales/pseudo-LOCALE.po | 52 +++++++++- web/src/locales/tr.po | 52 +++++++++- web/src/locales/zh-Hans.po | 52 +++++++++- web/src/locales/zh-Hant.po | 52 +++++++++- web/src/locales/zh_TW.po | 52 +++++++++- website/docs/releases/v2022.12.md | 15 ++- 16 files changed, 731 insertions(+), 42 deletions(-) diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index ea846e868..cb11ee6c0 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-25 14:08+0000\n" +"POT-Creation-Date: 2022-12-28 11:51+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1783,6 +1783,10 @@ msgstr "" msgid "Invitations" msgstr "" +#: authentik/stages/invitation/stage.py:61 +msgid "Invalid invite/invite not found" +msgstr "" + #: authentik/stages/password/models.py:20 msgid "User database + standard password" msgstr "" diff --git a/web/src/admin/AdminInterface.ts b/web/src/admin/AdminInterface.ts index 8ba9698e9..1dd82175b 100644 --- a/web/src/admin/AdminInterface.ts +++ b/web/src/admin/AdminInterface.ts @@ -280,7 +280,10 @@ export class AdminInterface extends AKElement { > ${t`Users`} - + ${UUID_REGEX})$`]} + > ${t`Groups`} { + @property({ attribute: false }) + user?: User; + + @state() + groupsToAdd: Group[] = []; + + getSuccessMessage(): string { + return t`Successfully added user to group(s).`; + } + + send = (data: { groups: string[] }): Promise<{ groups: string[] }> => { + return Promise.all( + data.groups.map((group) => { + return new CoreApi(DEFAULT_CONFIG).coreGroupsAddUserCreate({ + groupUuid: group, + userAccountRequest: { + pk: this.user?.pk || 0, + }, + }); + }), + ).then(() => { + return data; + }); + }; + + renderForm(): TemplateResult { + return html`
+ +
+ { + this.groupsToAdd = items; + this.requestUpdate(); + return Promise.resolve(); + }} + > + + +
+ + ${this.groupsToAdd.map((group) => { + return html` { + const idx = this.groupsToAdd.indexOf(group); + this.groupsToAdd.splice(idx, 1); + this.requestUpdate(); + }} + > + ${group.name} + `; + })} + +
+
+
+
`; + } +} + @customElement("ak-group-related-list") export class RelatedGroupList extends Table { checkbox = true; @@ -87,4 +157,29 @@ export class RelatedGroupList extends Table { `, ]; } + + renderToolbar(): TemplateResult { + return html` + ${this.targetUser + ? html` + ${t`Add`} + ${t`Add Group`} + + + + ` + : html``} + + ${t`Create`} + ${t`Create Group`} + + + + ${super.renderToolbar()} + `; + } } diff --git a/web/src/admin/users/RelatedUserList.ts b/web/src/admin/users/RelatedUserList.ts index aa756b29b..e2ec9461f 100644 --- a/web/src/admin/users/RelatedUserList.ts +++ b/web/src/admin/users/RelatedUserList.ts @@ -9,17 +9,22 @@ import { uiConfig } from "@goauthentik/common/ui/config"; import { first } from "@goauthentik/common/utils"; import { PFColor } from "@goauthentik/elements/Label"; import "@goauthentik/elements/buttons/ActionButton"; +import "@goauthentik/elements/buttons/Dropdown"; import "@goauthentik/elements/forms/DeleteBulkForm"; +import { Form } from "@goauthentik/elements/forms/Form"; +import "@goauthentik/elements/forms/HorizontalFormElement"; import "@goauthentik/elements/forms/ModalForm"; import { showMessage } from "@goauthentik/elements/messages/MessageContainer"; import { getURLParam, updateURLParams } from "@goauthentik/elements/router/RouteMatch"; import { PaginatedResponse } from "@goauthentik/elements/table/Table"; import { Table, TableColumn } from "@goauthentik/elements/table/Table"; +import { UserOption } from "@goauthentik/elements/user/utils"; import { t } from "@lingui/macro"; import { CSSResult, TemplateResult, html } from "lit"; -import { customElement, property } from "lit/decorators.js"; +import { customElement, property, state } from "lit/decorators.js"; +import { ifDefined } from "lit/directives/if-defined.js"; import { until } from "lit/directives/until.js"; import PFAlert from "@patternfly/patternfly/components/Alert/alert.css"; @@ -27,6 +32,71 @@ import PFDescriptionList from "@patternfly/patternfly/components/DescriptionList import { CapabilitiesEnum, CoreApi, Group, ResponseError, User } from "@goauthentik/api"; +@customElement("ak-user-related-add") +export class RelatedUserAdd extends Form<{ users: number[] }> { + @property({ attribute: false }) + group?: Group; + + @state() + usersToAdd: User[] = []; + + getSuccessMessage(): string { + return t`Successfully added user(s).`; + } + + send = (data: { users: number[] }): Promise<{ users: number[] }> => { + return Promise.all( + data.users.map((user) => { + return new CoreApi(DEFAULT_CONFIG).coreGroupsAddUserCreate({ + groupUuid: this.group?.pk || "", + userAccountRequest: { + pk: user, + }, + }); + }), + ).then(() => { + return data; + }); + }; + + renderForm(): TemplateResult { + return html`
+ +
+ { + this.usersToAdd = items; + this.requestUpdate(); + return Promise.resolve(); + }} + > + + +
+ + ${this.usersToAdd.map((user) => { + return html` { + const idx = this.usersToAdd.indexOf(user); + this.usersToAdd.splice(idx, 1); + this.requestUpdate(); + }} + > + ${UserOption(user)} + `; + })} + +
+
+
+
`; + } +} + @customElement("ak-user-related-list") export class RelatedUserList extends Table { expandable = true; @@ -273,20 +343,48 @@ export class RelatedUserList extends Table { renderToolbar(): TemplateResult { return html` - - ${t`Create`} - ${t`Create User`} - - - - - ${t`Create`} - ${t`Create Service account`} - - + ` + : html``} + + - + + ${super.renderToolbar()} `; } diff --git a/web/src/elements/forms/DeleteBulkForm.ts b/web/src/elements/forms/DeleteBulkForm.ts index 17e23bec1..3b87569a6 100644 --- a/web/src/elements/forms/DeleteBulkForm.ts +++ b/web/src/elements/forms/DeleteBulkForm.ts @@ -199,7 +199,7 @@ export class DeleteBulkForm extends ModalButton {

${this.actionSubtext ? this.actionSubtext - : t`Are you sure you want to delete ${this.objects.length} ${this.objectLabel}?`}} + : t`Are you sure you want to delete ${this.objects.length} ${this.objectLabel}?`}

diff --git a/web/src/locales/de.po b/web/src/locales/de.po index 2a7e00c86..47fd0a3ff 100644 --- a/web/src/locales/de.po +++ b/web/src/locales/de.po @@ -266,10 +266,20 @@ msgid "Active" msgstr "Aktiv" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "Hinzufügen" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -295,6 +305,18 @@ msgstr "Hinzufügen" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "Fügen Sie einen Anbieter hinzu, der SAML 2.0 unterstützt." +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "Zusatz Gruppen-DN" @@ -546,9 +568,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "Sind Sie sicher, dass Sie {0} \"{1}\" aktualisieren wollen?" @@ -1406,6 +1432,7 @@ msgstr "Wiederherstellungslink kopieren" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1430,7 +1457,6 @@ msgstr "Wiederherstellungslink kopieren" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1478,6 +1504,7 @@ msgid "Create Flow" msgstr "Ablauf erstellen" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "Gruppe erstellen" @@ -1594,6 +1621,11 @@ msgstr "Anbieter erstellen" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "Benutzer als inaktiv anlegen" @@ -2706,6 +2738,10 @@ msgstr "Gruppe(n)" msgid "Groups" msgstr "Gruppen" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256 (Symmetrische Verschlüsselung)" @@ -5572,6 +5608,14 @@ msgstr "Erfolgreich" msgid "Successful Logins" msgstr "Erfolgreiche Anmeldungen" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "Der Ablauf-Cache wurde erfolgreich geleert" @@ -6958,6 +7002,10 @@ msgstr "Benutzer, die im letzten Monat pro Tag erstellt wurden" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "Benutzer in der ausgewählten Gruppe können Suchanfragen stellen. Wenn keine Gruppe ausgewählt ist, sind keine LDAP-Suchen zulässig." +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "Nutze Ablauf" diff --git a/web/src/locales/en.po b/web/src/locales/en.po index 83e70388b..b3846d272 100644 --- a/web/src/locales/en.po +++ b/web/src/locales/en.po @@ -245,10 +245,20 @@ msgid "Active" msgstr "Active" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "Add" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "Add Group" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "Add User" + #: src/pages/providers/ProviderWizard.ts #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" @@ -277,6 +287,18 @@ msgstr "Add" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "Add a provider which supports SAML 2.0." +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "Add existing user" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "Add new group" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "Add to existing group" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "Addition Group DN" @@ -529,8 +551,12 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "Are you sure you want to remove the selected users from the group {0}?" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" -msgstr "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" +msgstr "Are you sure you want to remove user {0} from the following groups?" + +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "Are you sure you want to remove users {0} from the following groups?" #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" @@ -1410,6 +1436,7 @@ msgstr "Copy recovery link" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1434,7 +1461,6 @@ msgstr "Copy recovery link" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1482,6 +1508,7 @@ msgid "Create Flow" msgstr "Create Flow" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "Create Group" @@ -1598,6 +1625,11 @@ msgstr "Create provider" msgid "Create service account" msgstr "Create service account" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "Create user" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "Create users as inactive" @@ -2745,6 +2777,10 @@ msgstr "Group(s)" msgid "Groups" msgstr "Groups" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "Groups to add" + #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256 (Symmetric Encryption)" @@ -5701,6 +5737,14 @@ msgstr "Successful" msgid "Successful Logins" msgstr "Successful Logins" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "Successfully added user to group(s)." + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "Successfully added user(s)." + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "Successfully cleared flow cache" @@ -7112,6 +7156,10 @@ msgstr "Users created per day in the last month" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "Users to add" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "Using flow" diff --git a/web/src/locales/es.po b/web/src/locales/es.po index 393d23961..ad6af34f9 100644 --- a/web/src/locales/es.po +++ b/web/src/locales/es.po @@ -250,10 +250,20 @@ msgid "Active" msgstr "Activo" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "Añadir" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -273,6 +283,18 @@ msgstr "Añadir" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "DN de grupo de adición" @@ -524,9 +546,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "¿Estás seguro de que quieres actualizar {0} «{1}»?" @@ -1382,6 +1408,7 @@ msgstr "Copiar enlace de recuperación" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1406,7 +1433,6 @@ msgstr "Copiar enlace de recuperación" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1454,6 +1480,7 @@ msgid "Create Flow" msgstr "Crear flujo" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "Crear grupo" @@ -1570,6 +1597,11 @@ msgstr "Crear proveedor" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "Crear usuarios como inactivos" @@ -2682,6 +2714,10 @@ msgstr "Grupo(s)" msgid "Groups" msgstr "Grupos" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256 (cifrado simétrico)" @@ -5548,6 +5584,14 @@ msgstr "Éxito" msgid "Successful Logins" msgstr "Inicios de sesión exitosos" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "Se borró correctamente la memoria caché" @@ -6934,6 +6978,10 @@ msgstr "Usuarios creados por día en el último mes" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "Los usuarios del grupo seleccionado pueden realizar consultas de búsqueda. Si no se selecciona ningún grupo, no se permiten búsquedas LDAP." +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "Uso del flujo" diff --git a/web/src/locales/fr_FR.po b/web/src/locales/fr_FR.po index 181d5e2f4..3cf622249 100644 --- a/web/src/locales/fr_FR.po +++ b/web/src/locales/fr_FR.po @@ -255,10 +255,20 @@ msgid "Active" msgstr "Actif" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "Ajouter" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -278,6 +288,18 @@ msgstr "Ajouter" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "Préfixe DN groupes" @@ -529,9 +551,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "Êtes-vous sûr de vouloir modifier {0} {1} ?" @@ -1387,6 +1413,7 @@ msgstr "Copier le lien de récupération" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1411,7 +1438,6 @@ msgstr "Copier le lien de récupération" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1459,6 +1485,7 @@ msgid "Create Flow" msgstr "Créer un flux" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "Créer un groupe" @@ -1575,6 +1602,11 @@ msgstr "Créer un fournisseur" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "Créer des utilisateurs inactifs" @@ -2685,6 +2717,10 @@ msgstr "Groupe(s)" msgid "Groups" msgstr "Groupes" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256 (chiffrement symétrique)" @@ -5549,6 +5585,14 @@ msgstr "Réussite" msgid "Successful Logins" msgstr "Connexions réussies" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "Cache du flux vidé avec succès" @@ -6925,6 +6969,10 @@ msgstr "Utilisateurs créés par jour au cours du dernier mois" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "Les utilisateurs de ce groupe peuvent effectuer des recherches. Si aucun groupe n'est sélectionné, aucune recherche LDAP n'est autorisée." +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "Utilisation du flux" diff --git a/web/src/locales/pl.po b/web/src/locales/pl.po index fb05c1dfc..9a2f0bdfa 100644 --- a/web/src/locales/pl.po +++ b/web/src/locales/pl.po @@ -250,10 +250,20 @@ msgid "Active" msgstr "Aktywny" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "Dodaj" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -277,6 +287,18 @@ msgstr "Dodaj" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "Dodaj dostawcę, który wspiera SAML 2.0." +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "DN grupy dodawania" @@ -528,9 +550,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "Czy na pewno chcesz zaktualizować {0} \"{1}”?" @@ -1388,6 +1414,7 @@ msgstr "Skopiuj link odzyskiwania" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1412,7 +1439,6 @@ msgstr "Skopiuj link odzyskiwania" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1460,6 +1486,7 @@ msgid "Create Flow" msgstr "Utwórz przepływ" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "Utwórz grupę" @@ -1576,6 +1603,11 @@ msgstr "Utwórz dostawcę" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "Utwórz użytkowników jako nieaktywnych" @@ -2688,6 +2720,10 @@ msgstr "Grupa(y)" msgid "Groups" msgstr "Grupy" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256 (szyfrowanie symetryczne)" @@ -5558,6 +5594,14 @@ msgstr "Pomyślny" msgid "Successful Logins" msgstr "Pomyślne logowania" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "Pamięć podręczna przepływu została wyczyszczona" @@ -6944,6 +6988,10 @@ msgstr "Użytkownicy stworzeni dziennie w ciągu ostatniego miesiąca" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "Użytkownicy w wybranej grupie mogą wykonywać zapytania wyszukiwania. Jeśli nie wybrano żadnej grupy, nie są dozwolone żadne wyszukiwania LDAP." +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "Używanie przepływu" diff --git a/web/src/locales/pseudo-LOCALE.po b/web/src/locales/pseudo-LOCALE.po index 9029e793b..06c4c05f8 100644 --- a/web/src/locales/pseudo-LOCALE.po +++ b/web/src/locales/pseudo-LOCALE.po @@ -245,10 +245,20 @@ msgid "Active" msgstr "" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #: src/pages/providers/ProviderWizard.ts #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" @@ -273,6 +283,18 @@ msgstr "" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "" @@ -521,9 +543,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "" @@ -1398,6 +1424,7 @@ msgstr "" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1422,7 +1449,6 @@ msgstr "" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1470,6 +1496,7 @@ msgid "Create Flow" msgstr "" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "" @@ -1586,6 +1613,11 @@ msgstr "" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "" @@ -2731,6 +2763,10 @@ msgstr "" msgid "Groups" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #: src/pages/providers/oauth2/OAuth2ProviderForm.ts #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "" @@ -5681,6 +5717,14 @@ msgstr "" msgid "Successful Logins" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "" @@ -7082,6 +7126,10 @@ msgstr "" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "" +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "" diff --git a/web/src/locales/tr.po b/web/src/locales/tr.po index 63ecccac7..d44b53d24 100644 --- a/web/src/locales/tr.po +++ b/web/src/locales/tr.po @@ -250,10 +250,20 @@ msgid "Active" msgstr "Etkin" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "Ekle" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -273,6 +283,18 @@ msgstr "Ekle" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "Toplama Grubu DN" @@ -524,9 +546,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "{0} “{1}” güncellemesini istediğinizden emin misiniz?" @@ -1382,6 +1408,7 @@ msgstr "Kurtarma bağlantısı kopyalama" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1406,7 +1433,6 @@ msgstr "Kurtarma bağlantısı kopyalama" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1454,6 +1480,7 @@ msgid "Create Flow" msgstr "Akış Oluştur" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "Grup Oluştur" @@ -1570,6 +1597,11 @@ msgstr "Sağlayıcı oluştur" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "Kullanıcıları etkin olmayan olarak oluşturma" @@ -2682,6 +2714,10 @@ msgstr "Grup (ler)" msgid "Groups" msgstr "Gruplar" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256 (Simetrik Şifreleme)" @@ -5548,6 +5584,14 @@ msgstr "Başarılı" msgid "Successful Logins" msgstr "Başarılı Oturum Açma" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "Akış önbelleği başarıyla temizlendi" @@ -6934,6 +6978,10 @@ msgstr "Son ay içinde günlük oluşturulan kullanıcılar" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "Seçilen gruptaki kullanıcılar arama sorguları yapabilir. Hiçbir grup seçilmezse, LDAP Aramalarına izin verilmez." +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "Akışı kullanma" diff --git a/web/src/locales/zh-Hans.po b/web/src/locales/zh-Hans.po index a202c21ff..9bedc07af 100644 --- a/web/src/locales/zh-Hans.po +++ b/web/src/locales/zh-Hans.po @@ -252,10 +252,20 @@ msgid "Active" msgstr "激活" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "添加" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -279,6 +289,18 @@ msgstr "添加" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "添加一个支持 SAML 2.0 的提供程序。" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "额外的组 DN" @@ -530,9 +552,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "您确定要更新 {0} \"{1}\" 吗?" @@ -1390,6 +1416,7 @@ msgstr "复制恢复链接" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1414,7 +1441,6 @@ msgstr "复制恢复链接" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1462,6 +1488,7 @@ msgid "Create Flow" msgstr "创建流程" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "创建组" @@ -1578,6 +1605,11 @@ msgstr "创建提供程序" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "创建未激活用户" @@ -2690,6 +2722,10 @@ msgstr "组" msgid "Groups" msgstr "组" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256(对称加密)" @@ -5556,6 +5592,14 @@ msgstr "成功" msgid "Successful Logins" msgstr "成功登录" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "已成功清除流程缓存" @@ -6942,6 +6986,10 @@ msgstr "上个月中每天创建的用户" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "所选组中的用户可以执行搜索查询。如果未选择任何组,则不允许 LDAP 搜索。" +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "使用流程" diff --git a/web/src/locales/zh-Hant.po b/web/src/locales/zh-Hant.po index ebe606198..a6c775d7c 100644 --- a/web/src/locales/zh-Hant.po +++ b/web/src/locales/zh-Hant.po @@ -252,10 +252,20 @@ msgid "Active" msgstr "激活" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "添加" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -279,6 +289,18 @@ msgstr "添加" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "添加一个支持 SAML 2.0 的提供程序。" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "额外的 Group DN" @@ -530,9 +552,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "你确定要更新 {0} \"{1}\" 吗?" @@ -1390,6 +1416,7 @@ msgstr "复制恢复链接" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1414,7 +1441,6 @@ msgstr "复制恢复链接" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1462,6 +1488,7 @@ msgid "Create Flow" msgstr "创建流程" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "创建组" @@ -1578,6 +1605,11 @@ msgstr "创建提供商" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "将用户创建为非活动用户" @@ -2690,6 +2722,10 @@ msgstr "组" msgid "Groups" msgstr "组" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256(对称加密)" @@ -5556,6 +5592,14 @@ msgstr "成功" msgid "Successful Logins" msgstr "成功登入" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "已成功清除流程缓存" @@ -6942,6 +6986,10 @@ msgstr "上个月每天创建的用户" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "所选组中的用户可以执行搜索查询。如果未选择任何组,则不允许 LDAP 搜索。" +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "使用 Flow" diff --git a/web/src/locales/zh_TW.po b/web/src/locales/zh_TW.po index 006d9364b..d777095d8 100644 --- a/web/src/locales/zh_TW.po +++ b/web/src/locales/zh_TW.po @@ -252,10 +252,20 @@ msgid "Active" msgstr "激活" #: src/admin/groups/MemberSelectModal.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/users/GroupSelectModal.ts +#: src/admin/users/RelatedUserList.ts msgid "Add" msgstr "添加" +#: src/admin/groups/RelatedGroupList.ts +msgid "Add Group" +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Add User" +msgstr "" + #~ msgid "" #~ "Add a provider which does not support any other method. Requests will be routed\n" #~ "through the authentik proxy, which authenticates all requests." @@ -279,6 +289,18 @@ msgstr "添加" #~ msgid "Add a provider which supports SAML 2.0." #~ msgstr "添加一个支持 SAML 2.0 的提供程序。" +#: src/admin/users/RelatedUserList.ts +msgid "Add existing user" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add new group" +msgstr "" + +#: src/admin/groups/RelatedGroupList.ts +msgid "Add to existing group" +msgstr "" + #: src/admin/sources/ldap/LDAPSourceForm.ts msgid "Addition Group DN" msgstr "额外的 Group DN" @@ -530,9 +552,13 @@ msgid "Are you sure you want to remove the selected users from the group {0}?" msgstr "" #: src/admin/groups/RelatedGroupList.ts -msgid "Are you sure you want to remove users {0} from the following groups?" +msgid "Are you sure you want to remove user {0} from the following groups?" msgstr "" +#: src/admin/groups/RelatedGroupList.ts +#~ msgid "Are you sure you want to remove users {0} from the following groups?" +#~ msgstr "" + #: src/admin/users/UserActiveForm.ts msgid "Are you sure you want to update {0} \"{1}\"?" msgstr "你确定要更新 {0} \"{1}\" 吗?" @@ -1390,6 +1416,7 @@ msgstr "复制恢复链接" #: src/admin/flows/FlowListPage.ts #: src/admin/groups/GroupListPage.ts #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/OutpostListPage.ts #: src/admin/outposts/ServiceConnectionWizard.ts @@ -1414,7 +1441,6 @@ msgstr "复制恢复链接" #: src/admin/tokens/TokenListPage.ts #: src/admin/users/RelatedUserList.ts #: src/admin/users/RelatedUserList.ts -#: src/admin/users/RelatedUserList.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts #: src/admin/users/UserListPage.ts @@ -1462,6 +1488,7 @@ msgid "Create Flow" msgstr "创建流程" #: src/admin/groups/GroupListPage.ts +#: src/admin/groups/RelatedGroupList.ts msgid "Create Group" msgstr "创建组" @@ -1578,6 +1605,11 @@ msgstr "创建提供商" msgid "Create service account" msgstr "" +#: src/admin/users/RelatedUserList.ts +#: src/admin/users/RelatedUserList.ts +msgid "Create user" +msgstr "" + #: src/admin/stages/user_write/UserWriteStageForm.ts msgid "Create users as inactive" msgstr "将用户创建为非活动用户" @@ -2690,6 +2722,10 @@ msgstr "组" msgid "Groups" msgstr "组" +#: src/admin/groups/RelatedGroupList.ts +msgid "Groups to add" +msgstr "" + #~ msgid "HS256 (Symmetric Encryption)" #~ msgstr "HS256(对称加密)" @@ -5556,6 +5592,14 @@ msgstr "成功" msgid "Successful Logins" msgstr "成功登入" +#: src/admin/groups/RelatedGroupList.ts +msgid "Successfully added user to group(s)." +msgstr "" + +#: src/admin/users/RelatedUserList.ts +msgid "Successfully added user(s)." +msgstr "" + #: src/admin/flows/FlowListPage.ts msgid "Successfully cleared flow cache" msgstr "已成功清除流程缓存" @@ -6942,6 +6986,10 @@ msgstr "上个月每天创建的用户" msgid "Users in the selected group can do search queries. If no group is selected, no LDAP Searches are allowed." msgstr "所选组中的用户可以执行搜索查询。如果未选择任何组,则不允许 LDAP 搜索。" +#: src/admin/users/RelatedUserList.ts +msgid "Users to add" +msgstr "" + #: src/admin/events/EventInfo.ts msgid "Using flow" msgstr "使用 Flow" diff --git a/website/docs/releases/v2022.12.md b/website/docs/releases/v2022.12.md index 14df94b46..f353ba1e6 100644 --- a/website/docs/releases/v2022.12.md +++ b/website/docs/releases/v2022.12.md @@ -15,14 +15,20 @@ slug: "2022.12" authentik now comes with a bundled MaxMind GeoLite2 City database. This allows everyone to take advantage of the extra data provided by GeoIP. The default docker-compose file removes the GeoIP update container as it is no longer needed. See more [here](../core/geoip) -- Customisable Captcha stage +- Improved UX for user & group management and stage/policy binding - The captcha stage now supports alternate compatible providers, like [hCaptcha](https://docs.hcaptcha.com/switch/) and [Turnstile](https://developers.cloudflare.com/turnstile/get-started/migrating-from-recaptcha/). + Users can now more easily be added to and removed from groups, both when viewing a single user and viewing a group. + + When creating new stages or policies, authentik will now automatically offer an option to bind them to the object in whose context they were created in. - Preview for OAuth2 and SAML providers OAuth2 and SAML providers can now preview what the currently selected property/scope mappings's outcome will look like. This helps with seeing what data is sent to the client and implementing and testing custom mappings. +- Customisable Captcha stage + + The captcha stage now supports alternate compatible providers, like [hCaptcha](https://docs.hcaptcha.com/switch/) and [Turnstile](https://developers.cloudflare.com/turnstile/get-started/migrating-from-recaptcha/). + ## Upgrading This release does not introduce any new requirements. @@ -43,13 +49,14 @@ image: ## Minor changes/fixes +- blueprints: add !Env tag - blueprints: add `!If` tag (#4264) - blueprints: add conditions to blueprint schema -- blueprints: add !Env tag - blueprints: Added conditional entry application (#4167) - blueprints: better OCI support in UI (#4263) - blueprints: fixed bug causing filtering with an empty query (#4106) - blueprints: Support nested custom tags in `!Find` and `!Format` tags (#4127) +- core: add endpoints to add/remove users from group atomically - core: bundle geoip (#4250) - events: fix incorrect EventAction being used - events: improve handling creation of events with non-pickleable objects @@ -99,6 +106,7 @@ image: - web/admin: fix empty request being sent due to multiple forms in duo import modal - web/admin: improve i18n for documentation link in outpost form - web/admin: improve UI for removing users from groups and groups from users +- web/admin: improve user/group UX for adding/removing users to and from groups - web/admin: more consistent label usage, use compact labels - web/admin: rework markdown, correctly render Admonitions, fix links - web/admin: show bound policies order first to match stages @@ -108,6 +116,7 @@ image: - web/elements: fix alignment with checkbox in table - web/elements: fix log level for diagram - web/elements: fix table select-all checkbox being checked with no elements +- web/elements: fix wizard form page changing state before being active - web/elements: unselect top checkbox in table when not all elements are selected - web/flows: fix display for long redirect URLs - web/flows: improve error messages for failed duo push