web: allow for non-path elements in hash, store current tab page in hash

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-04 23:19:08 +02:00
parent 1a0a62975c
commit a9336d0983
10 changed files with 151 additions and 168 deletions

27
web/package-lock.json generated
View File

@ -5304,33 +5304,6 @@
} }
} }
}, },
"rollup-plugin-external-globals": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/rollup-plugin-external-globals/-/rollup-plugin-external-globals-0.6.1.tgz",
"integrity": "sha512-mlp3KNa5sE4Sp9UUR2rjBrxjG79OyZAh/QC18RHIjM+iYkbBwNXSo8DHRMZWtzJTrH8GxQ+SJvCTN3i14uMXIA==",
"requires": {
"@rollup/pluginutils": "^4.0.0",
"estree-walker": "^2.0.1",
"is-reference": "^1.2.1",
"magic-string": "^0.25.7"
},
"dependencies": {
"@rollup/pluginutils": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.0.tgz",
"integrity": "sha512-TrBhfJkFxA+ER+ew2U2/fHbebhLT/l/2pRk0hfj9KusXUuRXd2v0R58AfaZK9VXDQ4TogOSEmICVrQAA3zFnHQ==",
"requires": {
"estree-walker": "^2.0.1",
"picomatch": "^2.2.2"
}
},
"estree-walker": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.1.tgz",
"integrity": "sha512-tF0hv+Yi2Ot1cwj9eYHtxC0jB9bmjacjQs6ZBTj82H8JwUywFuc+7E83NWfNMwHXZc11mjfFcVXPe9gEP4B8dg=="
}
}
},
"rollup-plugin-minify-html-literals": { "rollup-plugin-minify-html-literals": {
"version": "1.2.6", "version": "1.2.6",
"resolved": "https://registry.npmjs.org/rollup-plugin-minify-html-literals/-/rollup-plugin-minify-html-literals-1.2.6.tgz", "resolved": "https://registry.npmjs.org/rollup-plugin-minify-html-literals/-/rollup-plugin-minify-html-literals-1.2.6.tgz",

View File

@ -12,7 +12,10 @@
}, },
"lingui": { "lingui": {
"sourceLocale": "en", "sourceLocale": "en",
"locales": ["en", "pseudo-LOCALE"], "locales": [
"en",
"pseudo-LOCALE"
],
"pseudoLocale": "pseudo-LOCALE", "pseudoLocale": "pseudo-LOCALE",
"fallbackLocales": { "fallbackLocales": {
"pseudo-LOCALE": "en" "pseudo-LOCALE": "en"

View File

@ -10,3 +10,4 @@ export const EVENT_NOTIFICATION_TOGGLE = "ak-notification-toggle";
export const EVENT_SIDEBAR_TOGGLE = "ak-sidebar-toggle"; export const EVENT_SIDEBAR_TOGGLE = "ak-sidebar-toggle";
export const EVENT_API_DRAWER_REFRESH = "ak-api-drawer-refresh"; export const EVENT_API_DRAWER_REFRESH = "ak-api-drawer-refresh";
export const TITLE_SUFFIX = "authentik"; export const TITLE_SUFFIX = "authentik";
export const ROUTE_SEPARATOR = ";";

View File

@ -3,7 +3,7 @@ import { ifDefined } from "lit-html/directives/if-defined";
import PFTabs from "@patternfly/patternfly/components/Tabs/tabs.css"; import PFTabs from "@patternfly/patternfly/components/Tabs/tabs.css";
import PFGlobal from "@patternfly/patternfly/patternfly-base.css"; import PFGlobal from "@patternfly/patternfly/patternfly-base.css";
import AKGlobal from "../authentik.css"; import AKGlobal from "../authentik.css";
import { CURRENT_CLASS } from "../constants"; import { CURRENT_CLASS, ROUTE_SEPARATOR } from "../constants";
import { t } from "@lingui/macro"; import { t } from "@lingui/macro";
@customElement("ak-tabs") @customElement("ak-tabs")
@ -50,10 +50,17 @@ export class Tabs extends LitElement {
super.disconnectedCallback(); super.disconnectedCallback();
} }
onClick(slot?: string): void {
this.currentPage = slot;
const currentUrl = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0];
const newUrl = `#${currentUrl};${slot}`;
window.location.hash = newUrl;
}
renderTab(page: Element): TemplateResult { renderTab(page: Element): TemplateResult {
const slot = page.attributes.getNamedItem("slot")?.value; const slot = page.attributes.getNamedItem("slot")?.value;
return html` <li class="pf-c-tabs__item ${slot === this.currentPage ? CURRENT_CLASS : ""}"> return html` <li class="pf-c-tabs__item ${slot === this.currentPage ? CURRENT_CLASS : ""}">
<button class="pf-c-tabs__link" @click=${() => { this.currentPage = slot; }}> <button class="pf-c-tabs__link" @click=${() => this.onClick(slot)}>
<span class="pf-c-tabs__item-text"> <span class="pf-c-tabs__item-text">
${page.getAttribute("data-tab-title")} ${page.getAttribute("data-tab-title")}
</span> </span>
@ -67,7 +74,15 @@ export class Tabs extends LitElement {
if (pages.length < 1) { if (pages.length < 1) {
return html`<h1>${t`no tabs defined`}</h1>`; return html`<h1>${t`no tabs defined`}</h1>`;
} }
this.currentPage = pages[0].attributes.getNamedItem("slot")?.value; let wantedPage = pages[0].attributes.getNamedItem("slot")?.value;
if (window.location.hash.includes(ROUTE_SEPARATOR)) {
const urlParts = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR);
if (this.querySelector(`[slot='${urlParts[1]}']`) !== null) {
// To update the URL to match with the current slot
wantedPage = urlParts[1];
}
}
this.onClick(wantedPage);
} }
return html`<div class="pf-c-tabs ${this.vertical ? "pf-m-vertical pf-m-box" : ""}"> return html`<div class="pf-c-tabs ${this.vertical ? "pf-m-vertical pf-m-box" : ""}">
<ul class="pf-c-tabs__list"> <ul class="pf-c-tabs__list">

View File

@ -6,7 +6,20 @@ import AKGlobal from "../../authentik.css";
import "./Router404"; import "./Router404";
import { Page } from "../Page"; import { Page } from "../Page";
import { TITLE_SUFFIX } from "../../constants"; import { ROUTE_SEPARATOR, TITLE_SUFFIX } from "../../constants";
// Poliyfill for hashchange.newURL,
// https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onhashchange
window.addEventListener("load", () => {
if (!window.HashChangeEvent) (function () {
let lastURL = document.URL;
window.addEventListener("hashchange", function (event) {
Object.defineProperty(event, "oldURL", { enumerable: true, configurable: true, value: lastURL });
Object.defineProperty(event, "newURL", { enumerable: true, configurable: true, value: document.URL });
lastURL = document.URL;
});
}());
});
@customElement("ak-router-outlet") @customElement("ak-router-outlet")
export class RouterOutlet extends LitElement { export class RouterOutlet extends LitElement {
@ -34,7 +47,7 @@ export class RouterOutlet extends LitElement {
constructor() { constructor() {
super(); super();
window.addEventListener("hashchange", () => this.navigate()); window.addEventListener("hashchange", (ev: HashChangeEvent) => this.navigate(ev));
} }
firstUpdated(): void { firstUpdated(): void {
@ -53,8 +66,13 @@ export class RouterOutlet extends LitElement {
}); });
} }
navigate(): void { navigate(ev?: HashChangeEvent): void {
let activeUrl = window.location.hash.slice(1, Infinity); let activeUrl = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0];
if (ev) {
// Check if we've actually changed paths
const oldPath = new URL(ev.oldURL).hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0];
if (oldPath === activeUrl) return;
}
if (activeUrl === "") { if (activeUrl === "") {
activeUrl = this.defaultUrl || "/"; activeUrl = this.defaultUrl || "/";
window.location.hash = `#${activeUrl}`; window.location.hash = `#${activeUrl}`;

View File

@ -8,6 +8,7 @@ import { until } from "lit-html/directives/until";
import "./SidebarBrand"; import "./SidebarBrand";
import "./SidebarUser"; import "./SidebarUser";
import { ROUTE_SEPARATOR } from "../../constants";
export class SidebarItem { export class SidebarItem {
name: string; name: string;
@ -145,9 +146,9 @@ export class Sidebar extends LitElement {
constructor() { constructor() {
super(); super();
this.activePath = window.location.hash.slice(1, Infinity); this.activePath = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0];
window.addEventListener("hashchange", () => { window.addEventListener("hashchange", () => {
this.activePath = window.location.hash.slice(1, Infinity); this.activePath = window.location.hash.slice(1, Infinity).split(ROUTE_SEPARATOR)[0];
}); });
} }

View File

@ -13,7 +13,7 @@ msgstr ""
"Language-Team: \n" "Language-Team: \n"
"Plural-Forms: \n" "Plural-Forms: \n"
#: src/pages/policies/BoundPoliciesList.ts:54 #: src/pages/policies/BoundPoliciesList.ts:55
msgid "-" msgid "-"
msgstr "-" msgstr "-"
@ -654,9 +654,9 @@ msgstr "Copy Key"
#: src/pages/outposts/OutpostListPage.ts:144 #: src/pages/outposts/OutpostListPage.ts:144
#: src/pages/outposts/ServiceConnectionListPage.ts:109 #: src/pages/outposts/ServiceConnectionListPage.ts:109
#: src/pages/outposts/ServiceConnectionListPage.ts:118 #: src/pages/outposts/ServiceConnectionListPage.ts:118
#: src/pages/policies/BoundPoliciesList.ts:157 #: src/pages/policies/BoundPoliciesList.ts:158
#: src/pages/policies/BoundPoliciesList.ts:184 #: src/pages/policies/BoundPoliciesList.ts:185
#: src/pages/policies/BoundPoliciesList.ts:205 #: src/pages/policies/BoundPoliciesList.ts:206
#: src/pages/policies/PolicyListPage.ts:124 #: src/pages/policies/PolicyListPage.ts:124
#: src/pages/policies/PolicyListPage.ts:133 #: src/pages/policies/PolicyListPage.ts:133
#: src/pages/property-mappings/PropertyMappingListPage.ts:113 #: src/pages/property-mappings/PropertyMappingListPage.ts:113
@ -685,10 +685,10 @@ msgstr "Create"
msgid "Create Application" msgid "Create Application"
msgstr "Create Application" msgstr "Create Application"
#: src/pages/policies/BoundPoliciesList.ts:160 #: src/pages/policies/BoundPoliciesList.ts:161
#: src/pages/policies/BoundPoliciesList.ts:165 #: src/pages/policies/BoundPoliciesList.ts:166
#: src/pages/policies/BoundPoliciesList.ts:208 #: src/pages/policies/BoundPoliciesList.ts:209
#: src/pages/policies/BoundPoliciesList.ts:213 #: src/pages/policies/BoundPoliciesList.ts:214
msgid "Create Binding" msgid "Create Binding"
msgstr "Create Binding" msgstr "Create Binding"
@ -724,7 +724,7 @@ msgstr "Create Notification Transport"
msgid "Create Outpost" msgid "Create Outpost"
msgstr "Create Outpost" msgstr "Create Outpost"
#: src/pages/policies/BoundPoliciesList.ts:175 #: src/pages/policies/BoundPoliciesList.ts:176
msgid "Create Policy" msgid "Create Policy"
msgstr "Create Policy" msgstr "Create Policy"
@ -751,7 +751,7 @@ msgstr "Create User"
#: src/pages/flows/BoundStagesList.ts:149 #: src/pages/flows/BoundStagesList.ts:149
#: src/pages/outposts/ServiceConnectionListPage.ts:121 #: src/pages/outposts/ServiceConnectionListPage.ts:121
#: src/pages/policies/BoundPoliciesList.ts:187 #: src/pages/policies/BoundPoliciesList.ts:188
#: src/pages/policies/PolicyListPage.ts:136 #: src/pages/policies/PolicyListPage.ts:136
#: src/pages/property-mappings/PropertyMappingListPage.ts:125 #: src/pages/property-mappings/PropertyMappingListPage.ts:125
#: src/pages/providers/ProviderListPage.ts:119 #: src/pages/providers/ProviderListPage.ts:119
@ -826,7 +826,7 @@ msgid "Delete Authorization Code"
msgstr "Delete Authorization Code" msgstr "Delete Authorization Code"
#: src/pages/flows/BoundStagesList.ts:91 #: src/pages/flows/BoundStagesList.ts:91
#: src/pages/policies/BoundPoliciesList.ts:144 #: src/pages/policies/BoundPoliciesList.ts:145
msgid "Delete Binding" msgid "Delete Binding"
msgstr "Delete Binding" msgstr "Delete Binding"
@ -962,15 +962,15 @@ msgid "Edit"
msgstr "Edit" msgstr "Edit"
#: src/pages/flows/BoundStagesList.ts:79 #: src/pages/flows/BoundStagesList.ts:79
#: src/pages/policies/BoundPoliciesList.ts:132 #: src/pages/policies/BoundPoliciesList.ts:133
msgid "Edit Binding" msgid "Edit Binding"
msgstr "Edit Binding" msgstr "Edit Binding"
#: src/pages/policies/BoundPoliciesList.ts:91 #: src/pages/policies/BoundPoliciesList.ts:92
msgid "Edit Group" msgid "Edit Group"
msgstr "Edit Group" msgstr "Edit Group"
#: src/pages/policies/BoundPoliciesList.ts:76 #: src/pages/policies/BoundPoliciesList.ts:77
msgid "Edit Policy" msgid "Edit Policy"
msgstr "Edit Policy" msgstr "Edit Policy"
@ -978,7 +978,7 @@ msgstr "Edit Policy"
msgid "Edit Stage" msgid "Edit Stage"
msgstr "Edit Stage" msgstr "Edit Stage"
#: src/pages/policies/BoundPoliciesList.ts:106 #: src/pages/policies/BoundPoliciesList.ts:107
msgid "Edit User" msgid "Edit User"
msgstr "Edit User" msgstr "Edit User"
@ -1023,8 +1023,8 @@ msgstr "Enable Static Tokens"
msgid "Enable Time-based OTP" msgid "Enable Time-based OTP"
msgstr "Enable Time-based OTP" msgstr "Enable Time-based OTP"
#: src/pages/policies/BoundPoliciesList.ts:36 #: src/pages/policies/BoundPoliciesList.ts:37
#: src/pages/policies/PolicyBindingForm.ts:156 #: src/pages/policies/PolicyBindingForm.ts:197
#: src/pages/sources/ldap/LDAPSourceForm.ts:69 #: src/pages/sources/ldap/LDAPSourceForm.ts:69
#: src/pages/sources/oauth/OAuthSourceForm.ts:113 #: src/pages/sources/oauth/OAuthSourceForm.ts:113
#: src/pages/sources/saml/SAMLSourceForm.ts:69 #: src/pages/sources/saml/SAMLSourceForm.ts:69
@ -1336,8 +1336,8 @@ msgstr "Go to previous page"
#: src/pages/events/RuleForm.ts:65 #: src/pages/events/RuleForm.ts:65
#: src/pages/groups/GroupListPage.ts:75 #: src/pages/groups/GroupListPage.ts:75
#: src/pages/policies/PolicyBindingForm.ts:122 #: src/pages/policies/PolicyBindingForm.ts:131
#: src/pages/stages/StageListPage.ts:103 #: src/pages/policies/PolicyBindingForm.ts:159
msgid "Group" msgid "Group"
msgstr "Group" msgstr "Group"
@ -1357,7 +1357,7 @@ msgstr "Group object filter"
msgid "Group users together and give them permissions based on the membership." msgid "Group users together and give them permissions based on the membership."
msgstr "Group users together and give them permissions based on the membership." msgstr "Group users together and give them permissions based on the membership."
#: src/pages/policies/BoundPoliciesList.ts:48 #: src/pages/policies/BoundPoliciesList.ts:49
msgid "Group {0}" msgid "Group {0}"
msgstr "Group {0}" msgstr "Group {0}"
@ -1527,10 +1527,6 @@ msgstr "JWT Algorithm"
msgid "Key used to sign the tokens. Only required when JWT Algorithm is set to RS256." msgid "Key used to sign the tokens. Only required when JWT Algorithm is set to RS256."
msgstr "Key used to sign the tokens. Only required when JWT Algorithm is set to RS256." msgstr "Key used to sign the tokens. Only required when JWT Algorithm is set to RS256."
#: src/pages/providers/saml/SAMLProviderForm.ts:135
#~ msgid "Keypair used to sign outgoing Responses going to the Service Provider."
#~ msgstr "Keypair used to sign outgoing Responses going to the Service Provider."
#: src/pages/sources/saml/SAMLSourceForm.ts:128 #: src/pages/sources/saml/SAMLSourceForm.ts:128
msgid "Keypair which is used to sign outgoing requests. Leave empty to disable signing." msgid "Keypair which is used to sign outgoing requests. Leave empty to disable signing."
msgstr "Keypair which is used to sign outgoing requests. Leave empty to disable signing." msgstr "Keypair which is used to sign outgoing requests. Leave empty to disable signing."
@ -1612,9 +1608,9 @@ msgstr "Loading"
#: src/pages/outposts/OutpostForm.ts:96 #: src/pages/outposts/OutpostForm.ts:96
#: src/pages/outposts/ServiceConnectionDockerForm.ts:87 #: src/pages/outposts/ServiceConnectionDockerForm.ts:87
#: src/pages/outposts/ServiceConnectionDockerForm.ts:104 #: src/pages/outposts/ServiceConnectionDockerForm.ts:104
#: src/pages/policies/PolicyBindingForm.ts:118 #: src/pages/policies/PolicyBindingForm.ts:155
#: src/pages/policies/PolicyBindingForm.ts:133 #: src/pages/policies/PolicyBindingForm.ts:171
#: src/pages/policies/PolicyBindingForm.ts:148 #: src/pages/policies/PolicyBindingForm.ts:187
#: src/pages/policies/PolicyTestForm.ts:70 #: src/pages/policies/PolicyTestForm.ts:70
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:83 #: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:83
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:103 #: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:103
@ -1841,7 +1837,7 @@ msgstr "New version available!"
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58 #: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63 #: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:119 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:119
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
@ -1858,7 +1854,7 @@ msgstr "No Applications available."
msgid "No Events found." msgid "No Events found."
msgstr "No Events found." msgstr "No Events found."
#: src/pages/policies/BoundPoliciesList.ts:150 #: src/pages/policies/BoundPoliciesList.ts:151
msgid "No Policies bound." msgid "No Policies bound."
msgstr "No Policies bound." msgstr "No Policies bound."
@ -1886,7 +1882,7 @@ msgstr "No form found"
msgid "No matching events could be found." msgid "No matching events could be found."
msgstr "No matching events could be found." msgstr "No matching events could be found."
#: src/pages/policies/BoundPoliciesList.ts:152 #: src/pages/policies/BoundPoliciesList.ts:153
msgid "No policies are currently bound to this object." msgid "No policies are currently bound to this object."
msgstr "No policies are currently bound to this object." msgstr "No policies are currently bound to this object."
@ -2003,10 +1999,6 @@ msgstr "Offset after which consent expires. (Format: hours=1;minutes=2;seconds=3
msgid "On behalf of {0}" msgid "On behalf of {0}"
msgstr "On behalf of {0}" msgstr "On behalf of {0}"
#: src/pages/crypto/CertificateKeyPairForm.ts:51
#~ msgid "Only change the fields below if you want to overwrite their values."
#~ msgstr "Only change the fields below if you want to overwrite their values."
#: src/pages/policies/expiry/ExpiryPolicyForm.ts:82 #: src/pages/policies/expiry/ExpiryPolicyForm.ts:82
msgid "Only fail the policy, don't set user's password." msgid "Only fail the policy, don't set user's password."
msgstr "Only fail the policy, don't set user's password." msgstr "Only fail the policy, don't set user's password."
@ -2057,8 +2049,8 @@ msgstr "Optionally set the 'FriendlyName' value of the Assertion attribute."
#: src/pages/flows/BoundStagesList.ts:38 #: src/pages/flows/BoundStagesList.ts:38
#: src/pages/flows/StageBindingForm.ts:128 #: src/pages/flows/StageBindingForm.ts:128
#: src/pages/policies/BoundPoliciesList.ts:37 #: src/pages/policies/BoundPoliciesList.ts:38
#: src/pages/policies/PolicyBindingForm.ts:161 #: src/pages/policies/PolicyBindingForm.ts:202
#: src/pages/stages/prompt/PromptForm.ts:119 #: src/pages/stages/prompt/PromptForm.ts:119
#: src/pages/stages/prompt/PromptListPage.ts:49 #: src/pages/stages/prompt/PromptListPage.ts:49
msgid "Order" msgid "Order"
@ -2160,12 +2152,13 @@ msgstr "Policies"
msgid "Policies without binding exist." msgid "Policies without binding exist."
msgstr "Policies without binding exist." msgstr "Policies without binding exist."
#: src/pages/policies/PolicyBindingForm.ts:110 #: src/pages/policies/PolicyBindingForm.ts:123
#: src/pages/policies/PolicyBindingForm.ts:146
#: src/pages/policies/PolicyListPage.ts:108 #: src/pages/policies/PolicyListPage.ts:108
msgid "Policy" msgid "Policy"
msgstr "Policy" msgstr "Policy"
#: src/pages/policies/BoundPoliciesList.ts:35 #: src/pages/policies/BoundPoliciesList.ts:36
msgid "Policy / User / Group" msgid "Policy / User / Group"
msgstr "Policy / User / Group" msgstr "Policy / User / Group"
@ -2176,7 +2169,7 @@ msgstr "Policy / User / Group"
msgid "Policy Bindings" msgid "Policy Bindings"
msgstr "Policy Bindings" msgstr "Policy Bindings"
#: src/pages/policies/BoundPoliciesList.ts:137 #: src/pages/policies/BoundPoliciesList.ts:138
msgid "Policy binding" msgid "Policy binding"
msgstr "Policy binding" msgstr "Policy binding"
@ -2186,7 +2179,7 @@ msgstr "Policy binding"
msgid "Policy engine mode" msgid "Policy engine mode"
msgstr "Policy engine mode" msgstr "Policy engine mode"
#: src/pages/policies/BoundPoliciesList.ts:45 #: src/pages/policies/BoundPoliciesList.ts:46
msgid "Policy {0}" msgid "Policy {0}"
msgstr "Policy {0}" msgstr "Policy {0}"
@ -2663,10 +2656,6 @@ msgstr "Signature algorithm"
msgid "Signing Certificate" msgid "Signing Certificate"
msgstr "Signing Certificate" msgstr "Signing Certificate"
#: src/pages/providers/saml/SAMLProviderForm.ts:121
#~ msgid "Signing Keypair"
#~ msgstr "Signing Keypair"
#: src/pages/sources/saml/SAMLSourceForm.ts:115 #: src/pages/sources/saml/SAMLSourceForm.ts:115
msgid "Signing keypair" msgid "Signing keypair"
msgstr "Signing keypair" msgstr "Signing keypair"
@ -2815,7 +2804,7 @@ msgid "Successfully created application."
msgstr "Successfully created application." msgstr "Successfully created application."
#: src/pages/flows/StageBindingForm.ts:39 #: src/pages/flows/StageBindingForm.ts:39
#: src/pages/policies/PolicyBindingForm.ts:49 #: src/pages/policies/PolicyBindingForm.ts:71
msgid "Successfully created binding." msgid "Successfully created binding."
msgstr "Successfully created binding." msgstr "Successfully created binding."
@ -2943,7 +2932,7 @@ msgid "Successfully updated application."
msgstr "Successfully updated application." msgstr "Successfully updated application."
#: src/pages/flows/StageBindingForm.ts:36 #: src/pages/flows/StageBindingForm.ts:36
#: src/pages/policies/PolicyBindingForm.ts:46 #: src/pages/policies/PolicyBindingForm.ts:68
msgid "Successfully updated binding." msgid "Successfully updated binding."
msgstr "Successfully updated binding." msgstr "Successfully updated binding."
@ -3141,10 +3130,6 @@ msgstr "The URL '{0}' was not found."
msgid "The policy takes a random time to execute. This controls the minimum time it will take." msgid "The policy takes a random time to execute. This controls the minimum time it will take."
msgstr "The policy takes a random time to execute. This controls the minimum time it will take." msgstr "The policy takes a random time to execute. This controls the minimum time it will take."
#: src/pages/events/RuleListPage.ts:109
#~ msgid "These policies control upon which events this rule triggers."
#~ msgstr "These policies control upon which events this rule triggers."
#: src/pages/events/RuleListPage.ts:109 #: src/pages/events/RuleListPage.ts:109
msgid "" msgid ""
"These policies control upon which events this rule triggers. Bindings to\n" "These policies control upon which events this rule triggers. Bindings to\n"
@ -3186,8 +3171,8 @@ msgstr "Time offset when temporary users should be deleted. This only applies if
msgid "Time-based One-Time Passwords" msgid "Time-based One-Time Passwords"
msgstr "Time-based One-Time Passwords" msgstr "Time-based One-Time Passwords"
#: src/pages/policies/BoundPoliciesList.ts:38 #: src/pages/policies/BoundPoliciesList.ts:39
#: src/pages/policies/PolicyBindingForm.ts:167 #: src/pages/policies/PolicyBindingForm.ts:208
#: src/pages/stages/email/EmailStageForm.ts:103 #: src/pages/stages/email/EmailStageForm.ts:103
msgid "Timeout" msgid "Timeout"
msgstr "Timeout" msgstr "Timeout"
@ -3312,10 +3297,10 @@ msgstr "Up-to-date!"
#: src/pages/groups/GroupListPage.ts:62 #: src/pages/groups/GroupListPage.ts:62
#: src/pages/outposts/OutpostListPage.ts:66 #: src/pages/outposts/OutpostListPage.ts:66
#: src/pages/outposts/ServiceConnectionListPage.ts:75 #: src/pages/outposts/ServiceConnectionListPage.ts:75
#: src/pages/policies/BoundPoliciesList.ts:63 #: src/pages/policies/BoundPoliciesList.ts:64
#: src/pages/policies/BoundPoliciesList.ts:83 #: src/pages/policies/BoundPoliciesList.ts:84
#: src/pages/policies/BoundPoliciesList.ts:98 #: src/pages/policies/BoundPoliciesList.ts:99
#: src/pages/policies/BoundPoliciesList.ts:124 #: src/pages/policies/BoundPoliciesList.ts:125
#: src/pages/policies/PolicyListPage.ts:77 #: src/pages/policies/PolicyListPage.ts:77
#: src/pages/property-mappings/PropertyMappingListPage.ts:66 #: src/pages/property-mappings/PropertyMappingListPage.ts:66
#: src/pages/providers/ProviderListPage.ts:73 #: src/pages/providers/ProviderListPage.ts:73
@ -3344,7 +3329,7 @@ msgstr "Update"
msgid "Update Application" msgid "Update Application"
msgstr "Update Application" msgstr "Update Application"
#: src/pages/policies/BoundPoliciesList.ts:127 #: src/pages/policies/BoundPoliciesList.ts:128
msgid "Update Binding" msgid "Update Binding"
msgstr "Update Binding" msgstr "Update Binding"
@ -3357,7 +3342,7 @@ msgid "Update Flow"
msgstr "Update Flow" msgstr "Update Flow"
#: src/pages/groups/GroupListPage.ts:65 #: src/pages/groups/GroupListPage.ts:65
#: src/pages/policies/BoundPoliciesList.ts:86 #: src/pages/policies/BoundPoliciesList.ts:87
msgid "Update Group" msgid "Update Group"
msgstr "Update Group" msgstr "Update Group"
@ -3409,7 +3394,7 @@ msgstr "Update Stage binding"
msgid "Update Token" msgid "Update Token"
msgstr "Update Token" msgstr "Update Token"
#: src/pages/policies/BoundPoliciesList.ts:101 #: src/pages/policies/BoundPoliciesList.ts:102
#: src/pages/users/UserListPage.ts:70 #: src/pages/users/UserListPage.ts:70
#: src/pages/users/UserViewPage.ts:142 #: src/pages/users/UserViewPage.ts:142
msgid "Update User" msgid "Update User"
@ -3421,7 +3406,7 @@ msgstr "Update details"
#: src/pages/flows/BoundStagesList.ts:56 #: src/pages/flows/BoundStagesList.ts:56
#: src/pages/outposts/ServiceConnectionListPage.ts:78 #: src/pages/outposts/ServiceConnectionListPage.ts:78
#: src/pages/policies/BoundPoliciesList.ts:66 #: src/pages/policies/BoundPoliciesList.ts:67
#: src/pages/policies/PolicyListPage.ts:80 #: src/pages/policies/PolicyListPage.ts:80
#: src/pages/property-mappings/PropertyMappingListPage.ts:69 #: src/pages/property-mappings/PropertyMappingListPage.ts:69
#: src/pages/providers/ProviderListPage.ts:76 #: src/pages/providers/ProviderListPage.ts:76
@ -3454,7 +3439,8 @@ msgstr "Use global settings"
#: src/elements/events/ObjectChangelog.ts:39 #: src/elements/events/ObjectChangelog.ts:39
#: src/pages/events/EventInfo.ts:83 #: src/pages/events/EventInfo.ts:83
#: src/pages/events/EventListPage.ts:44 #: src/pages/events/EventListPage.ts:44
#: src/pages/policies/PolicyBindingForm.ts:137 #: src/pages/policies/PolicyBindingForm.ts:139
#: src/pages/policies/PolicyBindingForm.ts:175
#: src/pages/policies/PolicyTestForm.ts:60 #: src/pages/policies/PolicyTestForm.ts:60
#: src/pages/property-mappings/PropertyMappingTestForm.ts:49 #: src/pages/property-mappings/PropertyMappingTestForm.ts:49
#: src/pages/tokens/TokenListPage.ts:45 #: src/pages/tokens/TokenListPage.ts:45
@ -3489,7 +3475,7 @@ msgstr "User fields"
msgid "User object filter" msgid "User object filter"
msgstr "User object filter" msgstr "User object filter"
#: src/pages/policies/BoundPoliciesList.ts:51 #: src/pages/policies/BoundPoliciesList.ts:52
#: src/pages/users/UserViewPage.ts:49 #: src/pages/users/UserViewPage.ts:49
msgid "User {0}" msgid "User {0}"
msgstr "User {0}" msgstr "User {0}"
@ -3671,7 +3657,7 @@ msgstr "X509 Subject"
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58 #: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63 #: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:116 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:116
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
@ -3692,7 +3678,7 @@ msgstr "authentik Builtin Database"
msgid "authentik LDAP Backend" msgid "authentik LDAP Backend"
msgstr "authentik LDAP Backend" msgstr "authentik LDAP Backend"
#: src/elements/Tabs.ts:62 #: src/elements/Tabs.ts:68
msgid "no tabs defined" msgid "no tabs defined"
msgstr "no tabs defined" msgstr "no tabs defined"

View File

@ -13,7 +13,7 @@ msgstr ""
"Language-Team: \n" "Language-Team: \n"
"Plural-Forms: \n" "Plural-Forms: \n"
#: src/pages/policies/BoundPoliciesList.ts:54 #: src/pages/policies/BoundPoliciesList.ts:55
msgid "-" msgid "-"
msgstr "" msgstr ""
@ -650,9 +650,9 @@ msgstr ""
#: src/pages/outposts/OutpostListPage.ts:144 #: src/pages/outposts/OutpostListPage.ts:144
#: src/pages/outposts/ServiceConnectionListPage.ts:109 #: src/pages/outposts/ServiceConnectionListPage.ts:109
#: src/pages/outposts/ServiceConnectionListPage.ts:118 #: src/pages/outposts/ServiceConnectionListPage.ts:118
#: src/pages/policies/BoundPoliciesList.ts:157 #: src/pages/policies/BoundPoliciesList.ts:158
#: src/pages/policies/BoundPoliciesList.ts:184 #: src/pages/policies/BoundPoliciesList.ts:185
#: src/pages/policies/BoundPoliciesList.ts:205 #: src/pages/policies/BoundPoliciesList.ts:206
#: src/pages/policies/PolicyListPage.ts:124 #: src/pages/policies/PolicyListPage.ts:124
#: src/pages/policies/PolicyListPage.ts:133 #: src/pages/policies/PolicyListPage.ts:133
#: src/pages/property-mappings/PropertyMappingListPage.ts:113 #: src/pages/property-mappings/PropertyMappingListPage.ts:113
@ -681,10 +681,10 @@ msgstr ""
msgid "Create Application" msgid "Create Application"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:160 #: src/pages/policies/BoundPoliciesList.ts:161
#: src/pages/policies/BoundPoliciesList.ts:165 #: src/pages/policies/BoundPoliciesList.ts:166
#: src/pages/policies/BoundPoliciesList.ts:208 #: src/pages/policies/BoundPoliciesList.ts:209
#: src/pages/policies/BoundPoliciesList.ts:213 #: src/pages/policies/BoundPoliciesList.ts:214
msgid "Create Binding" msgid "Create Binding"
msgstr "" msgstr ""
@ -720,7 +720,7 @@ msgstr ""
msgid "Create Outpost" msgid "Create Outpost"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:175 #: src/pages/policies/BoundPoliciesList.ts:176
msgid "Create Policy" msgid "Create Policy"
msgstr "" msgstr ""
@ -747,7 +747,7 @@ msgstr ""
#: src/pages/flows/BoundStagesList.ts:149 #: src/pages/flows/BoundStagesList.ts:149
#: src/pages/outposts/ServiceConnectionListPage.ts:121 #: src/pages/outposts/ServiceConnectionListPage.ts:121
#: src/pages/policies/BoundPoliciesList.ts:187 #: src/pages/policies/BoundPoliciesList.ts:188
#: src/pages/policies/PolicyListPage.ts:136 #: src/pages/policies/PolicyListPage.ts:136
#: src/pages/property-mappings/PropertyMappingListPage.ts:125 #: src/pages/property-mappings/PropertyMappingListPage.ts:125
#: src/pages/providers/ProviderListPage.ts:119 #: src/pages/providers/ProviderListPage.ts:119
@ -822,7 +822,7 @@ msgid "Delete Authorization Code"
msgstr "" msgstr ""
#: src/pages/flows/BoundStagesList.ts:91 #: src/pages/flows/BoundStagesList.ts:91
#: src/pages/policies/BoundPoliciesList.ts:144 #: src/pages/policies/BoundPoliciesList.ts:145
msgid "Delete Binding" msgid "Delete Binding"
msgstr "" msgstr ""
@ -958,15 +958,15 @@ msgid "Edit"
msgstr "" msgstr ""
#: src/pages/flows/BoundStagesList.ts:79 #: src/pages/flows/BoundStagesList.ts:79
#: src/pages/policies/BoundPoliciesList.ts:132 #: src/pages/policies/BoundPoliciesList.ts:133
msgid "Edit Binding" msgid "Edit Binding"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:91 #: src/pages/policies/BoundPoliciesList.ts:92
msgid "Edit Group" msgid "Edit Group"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:76 #: src/pages/policies/BoundPoliciesList.ts:77
msgid "Edit Policy" msgid "Edit Policy"
msgstr "" msgstr ""
@ -974,7 +974,7 @@ msgstr ""
msgid "Edit Stage" msgid "Edit Stage"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:106 #: src/pages/policies/BoundPoliciesList.ts:107
msgid "Edit User" msgid "Edit User"
msgstr "" msgstr ""
@ -1019,8 +1019,8 @@ msgstr ""
msgid "Enable Time-based OTP" msgid "Enable Time-based OTP"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:36 #: src/pages/policies/BoundPoliciesList.ts:37
#: src/pages/policies/PolicyBindingForm.ts:156 #: src/pages/policies/PolicyBindingForm.ts:197
#: src/pages/sources/ldap/LDAPSourceForm.ts:69 #: src/pages/sources/ldap/LDAPSourceForm.ts:69
#: src/pages/sources/oauth/OAuthSourceForm.ts:113 #: src/pages/sources/oauth/OAuthSourceForm.ts:113
#: src/pages/sources/saml/SAMLSourceForm.ts:69 #: src/pages/sources/saml/SAMLSourceForm.ts:69
@ -1332,8 +1332,8 @@ msgstr ""
#: src/pages/events/RuleForm.ts:65 #: src/pages/events/RuleForm.ts:65
#: src/pages/groups/GroupListPage.ts:75 #: src/pages/groups/GroupListPage.ts:75
#: src/pages/policies/PolicyBindingForm.ts:122 #: src/pages/policies/PolicyBindingForm.ts:131
#: src/pages/stages/StageListPage.ts:103 #: src/pages/policies/PolicyBindingForm.ts:159
msgid "Group" msgid "Group"
msgstr "" msgstr ""
@ -1353,7 +1353,7 @@ msgstr ""
msgid "Group users together and give them permissions based on the membership." msgid "Group users together and give them permissions based on the membership."
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:48 #: src/pages/policies/BoundPoliciesList.ts:49
msgid "Group {0}" msgid "Group {0}"
msgstr "" msgstr ""
@ -1523,10 +1523,6 @@ msgstr ""
msgid "Key used to sign the tokens. Only required when JWT Algorithm is set to RS256." msgid "Key used to sign the tokens. Only required when JWT Algorithm is set to RS256."
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:135
#~ msgid "Keypair used to sign outgoing Responses going to the Service Provider."
#~ msgstr ""
#: src/pages/sources/saml/SAMLSourceForm.ts:128 #: src/pages/sources/saml/SAMLSourceForm.ts:128
msgid "Keypair which is used to sign outgoing requests. Leave empty to disable signing." msgid "Keypair which is used to sign outgoing requests. Leave empty to disable signing."
msgstr "" msgstr ""
@ -1608,9 +1604,9 @@ msgstr ""
#: src/pages/outposts/OutpostForm.ts:96 #: src/pages/outposts/OutpostForm.ts:96
#: src/pages/outposts/ServiceConnectionDockerForm.ts:87 #: src/pages/outposts/ServiceConnectionDockerForm.ts:87
#: src/pages/outposts/ServiceConnectionDockerForm.ts:104 #: src/pages/outposts/ServiceConnectionDockerForm.ts:104
#: src/pages/policies/PolicyBindingForm.ts:118 #: src/pages/policies/PolicyBindingForm.ts:155
#: src/pages/policies/PolicyBindingForm.ts:133 #: src/pages/policies/PolicyBindingForm.ts:171
#: src/pages/policies/PolicyBindingForm.ts:148 #: src/pages/policies/PolicyBindingForm.ts:187
#: src/pages/policies/PolicyTestForm.ts:70 #: src/pages/policies/PolicyTestForm.ts:70
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:83 #: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:83
#: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:103 #: src/pages/policies/event_matcher/EventMatcherPolicyForm.ts:103
@ -1837,7 +1833,7 @@ msgstr ""
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58 #: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63 #: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:119 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:119
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
@ -1854,7 +1850,7 @@ msgstr ""
msgid "No Events found." msgid "No Events found."
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:150 #: src/pages/policies/BoundPoliciesList.ts:151
msgid "No Policies bound." msgid "No Policies bound."
msgstr "" msgstr ""
@ -1882,7 +1878,7 @@ msgstr ""
msgid "No matching events could be found." msgid "No matching events could be found."
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:152 #: src/pages/policies/BoundPoliciesList.ts:153
msgid "No policies are currently bound to this object." msgid "No policies are currently bound to this object."
msgstr "" msgstr ""
@ -1999,10 +1995,6 @@ msgstr ""
msgid "On behalf of {0}" msgid "On behalf of {0}"
msgstr "" msgstr ""
#: src/pages/crypto/CertificateKeyPairForm.ts:51
#~ msgid "Only change the fields below if you want to overwrite their values."
#~ msgstr ""
#: src/pages/policies/expiry/ExpiryPolicyForm.ts:82 #: src/pages/policies/expiry/ExpiryPolicyForm.ts:82
msgid "Only fail the policy, don't set user's password." msgid "Only fail the policy, don't set user's password."
msgstr "" msgstr ""
@ -2053,8 +2045,8 @@ msgstr ""
#: src/pages/flows/BoundStagesList.ts:38 #: src/pages/flows/BoundStagesList.ts:38
#: src/pages/flows/StageBindingForm.ts:128 #: src/pages/flows/StageBindingForm.ts:128
#: src/pages/policies/BoundPoliciesList.ts:37 #: src/pages/policies/BoundPoliciesList.ts:38
#: src/pages/policies/PolicyBindingForm.ts:161 #: src/pages/policies/PolicyBindingForm.ts:202
#: src/pages/stages/prompt/PromptForm.ts:119 #: src/pages/stages/prompt/PromptForm.ts:119
#: src/pages/stages/prompt/PromptListPage.ts:49 #: src/pages/stages/prompt/PromptListPage.ts:49
msgid "Order" msgid "Order"
@ -2156,12 +2148,13 @@ msgstr ""
msgid "Policies without binding exist." msgid "Policies without binding exist."
msgstr "" msgstr ""
#: src/pages/policies/PolicyBindingForm.ts:110 #: src/pages/policies/PolicyBindingForm.ts:123
#: src/pages/policies/PolicyBindingForm.ts:146
#: src/pages/policies/PolicyListPage.ts:108 #: src/pages/policies/PolicyListPage.ts:108
msgid "Policy" msgid "Policy"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:35 #: src/pages/policies/BoundPoliciesList.ts:36
msgid "Policy / User / Group" msgid "Policy / User / Group"
msgstr "" msgstr ""
@ -2172,7 +2165,7 @@ msgstr ""
msgid "Policy Bindings" msgid "Policy Bindings"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:137 #: src/pages/policies/BoundPoliciesList.ts:138
msgid "Policy binding" msgid "Policy binding"
msgstr "" msgstr ""
@ -2182,7 +2175,7 @@ msgstr ""
msgid "Policy engine mode" msgid "Policy engine mode"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:45 #: src/pages/policies/BoundPoliciesList.ts:46
msgid "Policy {0}" msgid "Policy {0}"
msgstr "" msgstr ""
@ -2659,10 +2652,6 @@ msgstr ""
msgid "Signing Certificate" msgid "Signing Certificate"
msgstr "" msgstr ""
#: src/pages/providers/saml/SAMLProviderForm.ts:121
#~ msgid "Signing Keypair"
#~ msgstr ""
#: src/pages/sources/saml/SAMLSourceForm.ts:115 #: src/pages/sources/saml/SAMLSourceForm.ts:115
msgid "Signing keypair" msgid "Signing keypair"
msgstr "" msgstr ""
@ -2811,7 +2800,7 @@ msgid "Successfully created application."
msgstr "" msgstr ""
#: src/pages/flows/StageBindingForm.ts:39 #: src/pages/flows/StageBindingForm.ts:39
#: src/pages/policies/PolicyBindingForm.ts:49 #: src/pages/policies/PolicyBindingForm.ts:71
msgid "Successfully created binding." msgid "Successfully created binding."
msgstr "" msgstr ""
@ -2939,7 +2928,7 @@ msgid "Successfully updated application."
msgstr "" msgstr ""
#: src/pages/flows/StageBindingForm.ts:36 #: src/pages/flows/StageBindingForm.ts:36
#: src/pages/policies/PolicyBindingForm.ts:46 #: src/pages/policies/PolicyBindingForm.ts:68
msgid "Successfully updated binding." msgid "Successfully updated binding."
msgstr "" msgstr ""
@ -3137,10 +3126,6 @@ msgstr ""
msgid "The policy takes a random time to execute. This controls the minimum time it will take." msgid "The policy takes a random time to execute. This controls the minimum time it will take."
msgstr "" msgstr ""
#: src/pages/events/RuleListPage.ts:109
#~ msgid "These policies control upon which events this rule triggers."
#~ msgstr ""
#: src/pages/events/RuleListPage.ts:109 #: src/pages/events/RuleListPage.ts:109
msgid "" msgid ""
"These policies control upon which events this rule triggers. Bindings to\n" "These policies control upon which events this rule triggers. Bindings to\n"
@ -3180,8 +3165,8 @@ msgstr ""
msgid "Time-based One-Time Passwords" msgid "Time-based One-Time Passwords"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:38 #: src/pages/policies/BoundPoliciesList.ts:39
#: src/pages/policies/PolicyBindingForm.ts:167 #: src/pages/policies/PolicyBindingForm.ts:208
#: src/pages/stages/email/EmailStageForm.ts:103 #: src/pages/stages/email/EmailStageForm.ts:103
msgid "Timeout" msgid "Timeout"
msgstr "" msgstr ""
@ -3306,10 +3291,10 @@ msgstr ""
#: src/pages/groups/GroupListPage.ts:62 #: src/pages/groups/GroupListPage.ts:62
#: src/pages/outposts/OutpostListPage.ts:66 #: src/pages/outposts/OutpostListPage.ts:66
#: src/pages/outposts/ServiceConnectionListPage.ts:75 #: src/pages/outposts/ServiceConnectionListPage.ts:75
#: src/pages/policies/BoundPoliciesList.ts:63 #: src/pages/policies/BoundPoliciesList.ts:64
#: src/pages/policies/BoundPoliciesList.ts:83 #: src/pages/policies/BoundPoliciesList.ts:84
#: src/pages/policies/BoundPoliciesList.ts:98 #: src/pages/policies/BoundPoliciesList.ts:99
#: src/pages/policies/BoundPoliciesList.ts:124 #: src/pages/policies/BoundPoliciesList.ts:125
#: src/pages/policies/PolicyListPage.ts:77 #: src/pages/policies/PolicyListPage.ts:77
#: src/pages/property-mappings/PropertyMappingListPage.ts:66 #: src/pages/property-mappings/PropertyMappingListPage.ts:66
#: src/pages/providers/ProviderListPage.ts:73 #: src/pages/providers/ProviderListPage.ts:73
@ -3338,7 +3323,7 @@ msgstr ""
msgid "Update Application" msgid "Update Application"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:127 #: src/pages/policies/BoundPoliciesList.ts:128
msgid "Update Binding" msgid "Update Binding"
msgstr "" msgstr ""
@ -3351,7 +3336,7 @@ msgid "Update Flow"
msgstr "" msgstr ""
#: src/pages/groups/GroupListPage.ts:65 #: src/pages/groups/GroupListPage.ts:65
#: src/pages/policies/BoundPoliciesList.ts:86 #: src/pages/policies/BoundPoliciesList.ts:87
msgid "Update Group" msgid "Update Group"
msgstr "" msgstr ""
@ -3403,7 +3388,7 @@ msgstr ""
msgid "Update Token" msgid "Update Token"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:101 #: src/pages/policies/BoundPoliciesList.ts:102
#: src/pages/users/UserListPage.ts:70 #: src/pages/users/UserListPage.ts:70
#: src/pages/users/UserViewPage.ts:142 #: src/pages/users/UserViewPage.ts:142
msgid "Update User" msgid "Update User"
@ -3415,7 +3400,7 @@ msgstr ""
#: src/pages/flows/BoundStagesList.ts:56 #: src/pages/flows/BoundStagesList.ts:56
#: src/pages/outposts/ServiceConnectionListPage.ts:78 #: src/pages/outposts/ServiceConnectionListPage.ts:78
#: src/pages/policies/BoundPoliciesList.ts:66 #: src/pages/policies/BoundPoliciesList.ts:67
#: src/pages/policies/PolicyListPage.ts:80 #: src/pages/policies/PolicyListPage.ts:80
#: src/pages/property-mappings/PropertyMappingListPage.ts:69 #: src/pages/property-mappings/PropertyMappingListPage.ts:69
#: src/pages/providers/ProviderListPage.ts:76 #: src/pages/providers/ProviderListPage.ts:76
@ -3448,7 +3433,8 @@ msgstr ""
#: src/elements/events/ObjectChangelog.ts:39 #: src/elements/events/ObjectChangelog.ts:39
#: src/pages/events/EventInfo.ts:83 #: src/pages/events/EventInfo.ts:83
#: src/pages/events/EventListPage.ts:44 #: src/pages/events/EventListPage.ts:44
#: src/pages/policies/PolicyBindingForm.ts:137 #: src/pages/policies/PolicyBindingForm.ts:139
#: src/pages/policies/PolicyBindingForm.ts:175
#: src/pages/policies/PolicyTestForm.ts:60 #: src/pages/policies/PolicyTestForm.ts:60
#: src/pages/property-mappings/PropertyMappingTestForm.ts:49 #: src/pages/property-mappings/PropertyMappingTestForm.ts:49
#: src/pages/tokens/TokenListPage.ts:45 #: src/pages/tokens/TokenListPage.ts:45
@ -3483,7 +3469,7 @@ msgstr ""
msgid "User object filter" msgid "User object filter"
msgstr "" msgstr ""
#: src/pages/policies/BoundPoliciesList.ts:51 #: src/pages/policies/BoundPoliciesList.ts:52
#: src/pages/users/UserViewPage.ts:49 #: src/pages/users/UserViewPage.ts:49
msgid "User {0}" msgid "User {0}"
msgstr "" msgstr ""
@ -3665,7 +3651,7 @@ msgstr ""
#: src/pages/crypto/CertificateKeyPairListPage.ts:61 #: src/pages/crypto/CertificateKeyPairListPage.ts:61
#: src/pages/groups/GroupListPage.ts:58 #: src/pages/groups/GroupListPage.ts:58
#: src/pages/outposts/ServiceConnectionListPage.ts:63 #: src/pages/outposts/ServiceConnectionListPage.ts:63
#: src/pages/policies/BoundPoliciesList.ts:117 #: src/pages/policies/BoundPoliciesList.ts:118
#: src/pages/policies/PolicyTestForm.ts:38 #: src/pages/policies/PolicyTestForm.ts:38
#: src/pages/providers/proxy/ProxyProviderViewPage.ts:116 #: src/pages/providers/proxy/ProxyProviderViewPage.ts:116
#: src/pages/tokens/TokenListPage.ts:56 #: src/pages/tokens/TokenListPage.ts:56
@ -3686,7 +3672,7 @@ msgstr ""
msgid "authentik LDAP Backend" msgid "authentik LDAP Backend"
msgstr "" msgstr ""
#: src/elements/Tabs.ts:62 #: src/elements/Tabs.ts:68
msgid "no tabs defined" msgid "no tabs defined"
msgstr "" msgstr ""

View File

@ -13,7 +13,7 @@ import PFContent from "@patternfly/patternfly/components/Content/content.css";
enum target { enum target {
policy, group, user policy, group, user
}; }
@customElement("ak-policy-binding-form") @customElement("ak-policy-binding-form")
export class PolicyBindingForm extends Form<PolicyBinding> { export class PolicyBindingForm extends Form<PolicyBinding> {
@ -41,7 +41,7 @@ export class PolicyBindingForm extends Form<PolicyBinding> {
@property() @property()
targetPk?: string; targetPk?: string;
@property() @property({type: Number})
policyGroupUser?: target; policyGroupUser?: target;
getSuccessMessage(): string { getSuccessMessage(): string {

View File

@ -100,7 +100,7 @@ export class StageListPage extends TablePage<Stage> {
</ak-forms-modal> </ak-forms-modal>
<ak-forms-delete <ak-forms-delete
.obj=${item} .obj=${item}
objectLabel=${t`Group`} objectLabel=${item.verboseName}
.delete=${() => { .delete=${() => {
return new StagesApi(DEFAULT_CONFIG).stagesAllDelete({ return new StagesApi(DEFAULT_CONFIG).stagesAllDelete({
stageUuid: item.pk || "" stageUuid: item.pk || ""