strapi-plugin-magic-sessionmanager 4.21.0 → 4.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +97 -0
- package/README.md +92 -47
- package/dist/admin/{Analytics-BqdZIBV4.js → Analytics-B7BAjApz.js} +1 -1
- package/dist/admin/{Analytics-C-OLLzoB.mjs → Analytics-CIHgaURb.mjs} +1 -1
- package/dist/admin/{App-BswHmNQT.mjs → App-CPE-CQGz.mjs} +1309 -2564
- package/dist/admin/{App-Cx9v6n_7.js → App-DJkJC06E.js} +1336 -2591
- package/dist/admin/{OnlineUsersWidget-BRmQPPp9.js → OnlineUsersWidget-CcjNfzzf.js} +1 -1
- package/dist/admin/{OnlineUsersWidget-Dusgjc1d.mjs → OnlineUsersWidget-Dou2hxGY.mjs} +1 -1
- package/dist/admin/{Settings-DWGuf_Z3.js → Settings--eEiHv_a.js} +104 -81
- package/dist/admin/{Settings-DZyQheUS.mjs → Settings-h_exWUiI.mjs} +62 -39
- package/dist/admin/dashboardModel-DNT_l-Bk.js +169 -0
- package/dist/admin/dashboardModel-fApbKGay.mjs +170 -0
- package/dist/admin/{de-DUnrmFWk.mjs → de-Wz5Emtrb.mjs} +79 -7
- package/dist/admin/{de-24TPqzG6.js → de-oBmcAcXj.js} +79 -7
- package/dist/admin/{en-8mBSkWOF.js → en-B1TN5F62.js} +80 -8
- package/dist/admin/{en-D8J__tyF.mjs → en-B_1Ka64U.mjs} +80 -8
- package/dist/admin/{es-ChUKey-Q.js → es-Bb515J0p.js} +79 -7
- package/dist/admin/{es-BgpgWdk0.mjs → es-CVgw4zsj.mjs} +79 -7
- package/dist/admin/{fr-k1MHYKJo.mjs → fr-0AgMxTFc.mjs} +79 -7
- package/dist/admin/{fr-DE_CWmgq.js → fr-yDdwunmg.js} +79 -7
- package/dist/admin/index-DVQ7tdTC.mjs +4746 -0
- package/dist/admin/index-qtN2dOm4.js +4747 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +2 -2
- package/dist/admin/{pt-BjqU5ioB.js → pt-BAB07LY-.js} +79 -7
- package/dist/admin/{pt-DPO4DmDc.mjs → pt-DtM74ffN.mjs} +79 -7
- package/dist/server/index.js +1487 -438
- package/dist/server/index.mjs +1487 -438
- package/package.json +4 -3
- package/dist/admin/index-Ceh3Q1Ki.js +0 -2308
- package/dist/admin/index-meLDPPwt.mjs +0 -2307
- package/dist/admin/settingsTabs-C1q5iMMw.mjs +0 -437
- package/dist/admin/settingsTabs-CfquZuKH.js +0 -436
|
@@ -4,10 +4,10 @@ import { Field, Typography, Switch, Box, TextInput, Flex, Button, Link, SingleSe
|
|
|
4
4
|
import { useFetchClient, useNotification, useRBAC, ConfirmDialog, useQueryParams, Page, Form, Blocker, useForm } from "@strapi/strapi/admin";
|
|
5
5
|
import { EyeStriked, Eye, Key, Duplicate, Plus, Pencil, Trash, Lock, ArrowClockwise, Cross, Download, Check, SignOut } from "@strapi/icons";
|
|
6
6
|
import styled from "styled-components";
|
|
7
|
-
import {
|
|
7
|
+
import { ar as ReadableParagraphs, a1 as useSettingsTranslate, l as logSafeAdminError, as as buildTabSearch, R as ReadableText, at as buildSelectOptions, L as useElementWidth, f as pluginId, F as isCancelledRequest, h as PersistentAlert, au as EqualGrid, av as SELECT_PRESETS, u as useSessionFormatters, j as pluginPermissions, C as ConfirmAction, aw as fieldHasError, ax as usesLocalDatabase, P as PropertyList, ay as formatSessionDate, az as refocusIfLost, aA as getErrorTab, aB as copyText, aC as buildSavePayload, aD as SETTINGS_FIELD_LABELS, aE as requireSuccessfulMutation, aF as getVisibleSettingsTabs, aG as resolveSettingsTab, aH as getRevealScrollDelta, Q as PageShell, aI as SETTINGS_TAB_LABELS } from "./index-DVQ7tdTC.mjs";
|
|
8
8
|
import "react-intl";
|
|
9
|
-
import { v as buildTabSearch, x as buildSelectOptions, u as useElementWidth, b as RowActions, s as shouldIsolateActionKey, y as SELECT_PRESETS, z as fieldHasError, B as getRiskAvailability, C as riskDependentControl, E as usesLocalDatabase, F as getErrorTab, G as buildSavePayload, q as SETTINGS_FIELD_LABELS, H as getVisibleSettingsTabs, I as resolveSettingsTab, J as getRevealScrollDelta, t as SETTINGS_TAB_LABELS } from "./settingsTabs-C1q5iMMw.mjs";
|
|
10
9
|
import { S as SectionCard } from "./SectionCard-D51bv4Hi.mjs";
|
|
10
|
+
import { b as RowActions, s as shouldIsolateActionKey, o as getRiskAvailability, q as riskDependentControl } from "./dashboardModel-fApbKGay.mjs";
|
|
11
11
|
import { EmptyPermissions } from "@strapi/icons/symbols";
|
|
12
12
|
const FieldFrame = styled.div`
|
|
13
13
|
width: 100%;
|
|
@@ -567,6 +567,7 @@ const ROLE_RULE_RANGES = Object.freeze({
|
|
|
567
567
|
});
|
|
568
568
|
const ROLE_RULE_FIELDS = Object.freeze(Object.keys(ROLE_RULE_RANGES));
|
|
569
569
|
const MAX_TRUSTED_ADDRESSES = 100;
|
|
570
|
+
const MAX_TRUSTED_PROXIES = 50;
|
|
570
571
|
const message$2 = (messageId, defaultMessage, values) => ({ messageId, defaultMessage, values });
|
|
571
572
|
function validateWholeNumber(value, { min, max }) {
|
|
572
573
|
if (value === void 0 || value === null || value === "") {
|
|
@@ -609,17 +610,24 @@ function validatePolicyFields(settings) {
|
|
|
609
610
|
const error = validateWholeNumber(source[key], range);
|
|
610
611
|
if (error) errors[key] = error;
|
|
611
612
|
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
613
|
+
for (const [field, max] of [
|
|
614
|
+
["lockoutTrustedAddresses", MAX_TRUSTED_ADDRESSES],
|
|
615
|
+
["trustedProxies", MAX_TRUSTED_PROXIES]
|
|
616
|
+
]) {
|
|
617
|
+
const entries = Array.isArray(source[field]) ? source[field] : [];
|
|
618
|
+
if (entries.length > max) {
|
|
619
|
+
errors[field] = message$2(
|
|
620
|
+
"settings.validation.trustedTooMany",
|
|
621
|
+
"Enter at most {max} addresses.",
|
|
622
|
+
{
|
|
623
|
+
max
|
|
624
|
+
}
|
|
625
|
+
);
|
|
626
|
+
continue;
|
|
627
|
+
}
|
|
620
628
|
const invalid = entries.find((entry) => !isTrustedAddressLine(entry));
|
|
621
629
|
if (invalid !== void 0) {
|
|
622
|
-
errors
|
|
630
|
+
errors[field] = message$2(
|
|
623
631
|
"settings.validation.trustedAddress",
|
|
624
632
|
'"{value}" is not an IP address or CIDR range. Use for example 192.0.2.10 or 192.0.2.0/24.',
|
|
625
633
|
{ value: String(invalid).slice(0, 64) }
|
|
@@ -2068,7 +2076,8 @@ const SETTINGS_DEFAULTS = Object.freeze({
|
|
|
2068
2076
|
sessionCreationGraceMs: 5e3,
|
|
2069
2077
|
cleanupUseDbDirect: false,
|
|
2070
2078
|
strictSessionEnforcement: false,
|
|
2071
|
-
|
|
2079
|
+
// Proxy addresses or CIDR ranges (4.22.1); empty = Strapi's server.proxy settings.
|
|
2080
|
+
trustedProxies: [],
|
|
2072
2081
|
enableGeolocation: true,
|
|
2073
2082
|
enableSecurityScoring: true,
|
|
2074
2083
|
blockSuspiciousSessions: false,
|
|
@@ -2129,6 +2138,7 @@ function normalizeSettings(loaded) {
|
|
|
2129
2138
|
allowedCountries: Array.isArray(loaded.allowedCountries) ? loaded.allowedCountries : [],
|
|
2130
2139
|
blockedCountries: Array.isArray(loaded.blockedCountries) ? loaded.blockedCountries : [],
|
|
2131
2140
|
lockoutTrustedAddresses: Array.isArray(loaded.lockoutTrustedAddresses) ? loaded.lockoutTrustedAddresses : [],
|
|
2141
|
+
trustedProxies: Array.isArray(loaded.trustedProxies) ? loaded.trustedProxies : [],
|
|
2132
2142
|
roleRules: Array.isArray(loaded.roleRules) ? loaded.roleRules : [],
|
|
2133
2143
|
webhookEvents: Array.isArray(loaded.webhookEvents) ? loaded.webhookEvents : [...SIGNALS_FORM_DEFAULTS.webhookEvents],
|
|
2134
2144
|
emailTemplates: fillMissingTemplates(loaded.emailTemplates)
|
|
@@ -2494,37 +2504,43 @@ const LockedNowCard = () => {
|
|
|
2494
2504
|
}
|
|
2495
2505
|
);
|
|
2496
2506
|
};
|
|
2497
|
-
const TrustedAddressesField = ({
|
|
2507
|
+
const TrustedAddressesField = ({
|
|
2508
|
+
form,
|
|
2509
|
+
disabled = false,
|
|
2510
|
+
field = "lockoutTrustedAddresses",
|
|
2511
|
+
id = "lockout-trusted-addresses",
|
|
2512
|
+
label,
|
|
2513
|
+
description,
|
|
2514
|
+
placeholder = "192.0.2.0/24"
|
|
2515
|
+
}) => {
|
|
2498
2516
|
const { t, tError } = useSettingsTranslate();
|
|
2499
2517
|
const { settings, handleChange, errors, draftVersion } = form;
|
|
2500
|
-
const [text, setText] = useState(
|
|
2501
|
-
() => formatTrustedAddressText(settings.lockoutTrustedAddresses)
|
|
2502
|
-
);
|
|
2518
|
+
const [text, setText] = useState(() => formatTrustedAddressText(settings[field]));
|
|
2503
2519
|
const [version, setVersion] = useState(draftVersion);
|
|
2504
2520
|
if (version !== draftVersion) {
|
|
2505
2521
|
setVersion(draftVersion);
|
|
2506
|
-
setText(formatTrustedAddressText(settings
|
|
2522
|
+
setText(formatTrustedAddressText(settings[field]));
|
|
2507
2523
|
}
|
|
2508
2524
|
return /* @__PURE__ */ jsx(
|
|
2509
2525
|
FormField,
|
|
2510
2526
|
{
|
|
2511
|
-
id
|
|
2512
|
-
name:
|
|
2513
|
-
label: t("settings.config.failed.trusted.label", "Trusted addresses"),
|
|
2514
|
-
description: t(
|
|
2527
|
+
id,
|
|
2528
|
+
name: field,
|
|
2529
|
+
label: label ?? t("settings.config.failed.trusted.label", "Trusted addresses"),
|
|
2530
|
+
description: description ?? t(
|
|
2515
2531
|
"settings.config.failed.trusted.hint",
|
|
2516
2532
|
"One IP address or CIDR range per line, for example 192.0.2.10 or 192.0.2.0/24. These addresses are never locked by IP; accounts can still be locked. Use it for an office network or a server that signs in for many users."
|
|
2517
2533
|
),
|
|
2518
|
-
error: tError(errors
|
|
2534
|
+
error: tError(errors[field]),
|
|
2519
2535
|
children: /* @__PURE__ */ jsx(
|
|
2520
2536
|
Textarea,
|
|
2521
2537
|
{
|
|
2522
2538
|
value: text,
|
|
2523
|
-
placeholder
|
|
2539
|
+
placeholder,
|
|
2524
2540
|
disabled,
|
|
2525
2541
|
onChange: (event) => {
|
|
2526
2542
|
setText(event.target.value);
|
|
2527
|
-
handleChange(
|
|
2543
|
+
handleChange(field, parseTrustedAddressText(event.target.value));
|
|
2528
2544
|
}
|
|
2529
2545
|
}
|
|
2530
2546
|
)
|
|
@@ -3148,6 +3164,7 @@ const LoginProtectionTab = ({ form }) => {
|
|
|
3148
3164
|
children: /* @__PURE__ */ jsx(
|
|
3149
3165
|
NumberInput,
|
|
3150
3166
|
{
|
|
3167
|
+
disabled: policyLocked,
|
|
3151
3168
|
value: settings.maxFailedLogins,
|
|
3152
3169
|
onValueChange: (value) => handleChange("maxFailedLogins", value),
|
|
3153
3170
|
min: MAX_FAILED_LOGINS_RANGE.min,
|
|
@@ -3301,7 +3318,7 @@ const LoginProtectionTab = ({ form }) => {
|
|
|
3301
3318
|
}
|
|
3302
3319
|
),
|
|
3303
3320
|
/* @__PURE__ */ jsx(LockedNowCard, {}),
|
|
3304
|
-
/* @__PURE__ */
|
|
3321
|
+
/* @__PURE__ */ jsxs(
|
|
3305
3322
|
SectionCard,
|
|
3306
3323
|
{
|
|
3307
3324
|
id: "client-ip-address",
|
|
@@ -3310,19 +3327,24 @@ const LoginProtectionTab = ({ form }) => {
|
|
|
3310
3327
|
"settings.config.clientIp.intro",
|
|
3311
3328
|
"All IP-based rules depend on reading the real client address."
|
|
3312
3329
|
),
|
|
3313
|
-
children:
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
"
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3330
|
+
children: [
|
|
3331
|
+
policyLocked ? /* @__PURE__ */ jsx(ProtectedNotice, {}) : null,
|
|
3332
|
+
/* @__PURE__ */ jsx(
|
|
3333
|
+
TrustedAddressesField,
|
|
3334
|
+
{
|
|
3335
|
+
form,
|
|
3336
|
+
disabled: policyLocked,
|
|
3337
|
+
field: "trustedProxies",
|
|
3338
|
+
id: "trusted-proxies",
|
|
3339
|
+
placeholder: "10.0.0.0/8",
|
|
3340
|
+
label: t("settings.config.clientIp.trustProxy.label", "Trusted proxies"),
|
|
3341
|
+
description: t(
|
|
3342
|
+
"settings.config.clientIp.trustProxy.hint",
|
|
3343
|
+
"Leave empty to use Strapi's server.proxy settings (koa, ipHeader, maxIpsCount). Otherwise list your proxies, one IP address or CIDR range per line: only a request that comes from a listed proxy has its X-Forwarded-For read, and the client is the right-most address that is not listed. Affects the recorded IP address, the IP lockout and location lookups."
|
|
3344
|
+
)
|
|
3345
|
+
}
|
|
3346
|
+
)
|
|
3347
|
+
]
|
|
3326
3348
|
}
|
|
3327
3349
|
),
|
|
3328
3350
|
/* @__PURE__ */ jsxs(
|
|
@@ -4823,12 +4845,13 @@ const AlertsTab = ({ form }) => {
|
|
|
4823
4845
|
] }, field);
|
|
4824
4846
|
}) }) })
|
|
4825
4847
|
] }),
|
|
4848
|
+
locked ? /* @__PURE__ */ jsx(ProtectedNotice, {}) : null,
|
|
4826
4849
|
/* @__PURE__ */ jsxs(
|
|
4827
4850
|
AdvancedSection,
|
|
4828
4851
|
{
|
|
4829
4852
|
label: t("settings.config.email.templates.label", "Edit email templates"),
|
|
4830
4853
|
hasError: templateErrors,
|
|
4831
|
-
disabled: emailTypesDisabled,
|
|
4854
|
+
disabled: emailTypesDisabled || locked,
|
|
4832
4855
|
children: [
|
|
4833
4856
|
/* @__PURE__ */ jsx(PersistentAlert, { variant: "warning", closeLabel: t("common.close", "Close"), title: "", children: t(
|
|
4834
4857
|
"settings.config.email.templates.warning",
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const designSystem = require("@strapi/design-system");
|
|
4
|
+
const index = require("./index-qtN2dOm4.js");
|
|
5
|
+
const RowActions = ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "flex-end", alignItems: "center", gap: 1, "data-row-actions": "", ...props, children });
|
|
6
|
+
const RISK_SOURCES = Object.freeze(["anonymous-ip", "asn-heuristic"]);
|
|
7
|
+
const RISK_SETTINGS_PATH = "/settings/magic-sessionmanager/general?tab=location-data";
|
|
8
|
+
const isRiskSource = (value) => RISK_SOURCES.includes(
|
|
9
|
+
/** @type {string} */
|
|
10
|
+
value
|
|
11
|
+
);
|
|
12
|
+
function getRiskAvailability(geoIpStatus) {
|
|
13
|
+
const risk = geoIpStatus?.risk;
|
|
14
|
+
if (!risk || typeof risk !== "object" || typeof risk.available !== "boolean") {
|
|
15
|
+
return { state: "unknown", source: null };
|
|
16
|
+
}
|
|
17
|
+
if (risk.available && isRiskSource(risk.source)) {
|
|
18
|
+
return { state: "available", source: risk.source };
|
|
19
|
+
}
|
|
20
|
+
return { state: "missing", source: null };
|
|
21
|
+
}
|
|
22
|
+
function riskDependentControl(saved, state) {
|
|
23
|
+
if (state !== "missing")
|
|
24
|
+
return { checked: Boolean(saved), disabled: false, savedOnButInactive: false };
|
|
25
|
+
return { checked: false, disabled: true, savedOnButInactive: Boolean(saved) };
|
|
26
|
+
}
|
|
27
|
+
const PAGE_SIZE_OPTIONS = Object.freeze(["10", "25", "50", "100"]);
|
|
28
|
+
const DEFAULT_PAGE_SIZE = "25";
|
|
29
|
+
const DASHBOARD_TABLE_COLUMNS = 7;
|
|
30
|
+
const DASHBOARD_COMPACT_TABLE_COLUMNS = 5;
|
|
31
|
+
const AUTO_REFRESH_INTERVAL_MS = 10 * 60 * 1e3;
|
|
32
|
+
const HOW_IT_WORKS_STORAGE_KEY = "magic-sessionmanager.dashboard.howSessionsWork";
|
|
33
|
+
const USER_EDIT_PATH = "/content-manager/collection-types/plugin::users-permissions.user/";
|
|
34
|
+
const readQueryText = (value) => {
|
|
35
|
+
if (typeof value !== "string") return "";
|
|
36
|
+
try {
|
|
37
|
+
return decodeURIComponent(value).trim();
|
|
38
|
+
} catch {
|
|
39
|
+
return value.trim();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
function parseDashboardQuery(query = {}) {
|
|
43
|
+
const source = query || {};
|
|
44
|
+
const page = Number.parseInt(String(source.page ?? "1"), 10);
|
|
45
|
+
const pageSize = PAGE_SIZE_OPTIONS.includes(String(source.pageSize)) ? String(source.pageSize) : DEFAULT_PAGE_SIZE;
|
|
46
|
+
const status = index.isSessionFilter(source.status) ? (
|
|
47
|
+
/** @type {string} */
|
|
48
|
+
source.status
|
|
49
|
+
) : index.DEFAULT_SESSION_FILTER;
|
|
50
|
+
const reason = status === "ended" && index.isEndReasonFilter(source.reason) ? (
|
|
51
|
+
/** @type {string} */
|
|
52
|
+
source.reason
|
|
53
|
+
) : index.DEFAULT_END_REASON_FILTER;
|
|
54
|
+
const search = readQueryText(source.search) || readQueryText(source._q);
|
|
55
|
+
return { page: Number.isFinite(page) && page >= 1 ? page : 1, pageSize, status, reason, search };
|
|
56
|
+
}
|
|
57
|
+
function encodeSearchQuery(value) {
|
|
58
|
+
const text = typeof value === "string" ? value.trim() : "";
|
|
59
|
+
return text ? encodeURIComponent(text) : void 0;
|
|
60
|
+
}
|
|
61
|
+
function hasActiveFilters(state) {
|
|
62
|
+
if (!state) return false;
|
|
63
|
+
return state.status !== index.DEFAULT_SESSION_FILTER || Boolean(state.reason) && state.reason !== index.DEFAULT_END_REASON_FILTER || Boolean(state.search);
|
|
64
|
+
}
|
|
65
|
+
function getSessionUserLabels(session) {
|
|
66
|
+
const username = index.presentText(session?.user?.username);
|
|
67
|
+
const email = index.presentText(session?.user?.email);
|
|
68
|
+
const primary = username || email;
|
|
69
|
+
return {
|
|
70
|
+
primary,
|
|
71
|
+
secondary: username && email ? email : "",
|
|
72
|
+
accessible: primary || index.presentText(session?.id)
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function getUserEditPath(session) {
|
|
76
|
+
const documentId = index.presentText(session?.user?.documentId);
|
|
77
|
+
return documentId ? `${USER_EDIT_PATH}${encodeURIComponent(documentId)}` : null;
|
|
78
|
+
}
|
|
79
|
+
function getExportDeviceInfo(session, unavailableValue = "") {
|
|
80
|
+
const device = index.getDevicePresentation(session);
|
|
81
|
+
return {
|
|
82
|
+
device: device.deviceType || unavailableValue,
|
|
83
|
+
browser: device.browser || unavailableValue,
|
|
84
|
+
browserVersion: device.browserVersion || "",
|
|
85
|
+
os: device.os || unavailableValue
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function readDisclosureOpen(storage) {
|
|
89
|
+
try {
|
|
90
|
+
return storage?.getItem(HOW_IT_WORKS_STORAGE_KEY) === "open";
|
|
91
|
+
} catch {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function writeDisclosureOpen(storage, open) {
|
|
96
|
+
try {
|
|
97
|
+
storage?.setItem(HOW_IT_WORKS_STORAGE_KEY, open ? "open" : "closed");
|
|
98
|
+
} catch {
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function getBrowserStorage() {
|
|
102
|
+
try {
|
|
103
|
+
return typeof window !== "undefined" ? window.localStorage : null;
|
|
104
|
+
} catch {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function shouldIsolateActionKey(key, fromInsideGroup) {
|
|
109
|
+
if (!fromInsideGroup) return true;
|
|
110
|
+
return key === "Enter" || key === " " || key === "Spacebar";
|
|
111
|
+
}
|
|
112
|
+
const FULL_TABLE_MIN_WIDTH = 1200;
|
|
113
|
+
function shouldUseCompactTable(listWidth, isBelowLarge) {
|
|
114
|
+
if (isBelowLarge) return true;
|
|
115
|
+
if (!Number.isFinite(listWidth) || listWidth <= 0) return false;
|
|
116
|
+
return listWidth < FULL_TABLE_MIN_WIDTH;
|
|
117
|
+
}
|
|
118
|
+
function shouldRedispatchEscape(key, fromInsideGroup) {
|
|
119
|
+
return !fromInsideGroup && key === "Escape";
|
|
120
|
+
}
|
|
121
|
+
function pickFocusSessionId(previousIds, currentIds, sessionId) {
|
|
122
|
+
const current = Array.isArray(currentIds) ? currentIds.map(String) : [];
|
|
123
|
+
if (current.length === 0) return null;
|
|
124
|
+
const target = String(sessionId);
|
|
125
|
+
if (current.includes(target)) return target;
|
|
126
|
+
const previous = Array.isArray(previousIds) ? previousIds.map(String) : [];
|
|
127
|
+
const index2 = previous.indexOf(target);
|
|
128
|
+
if (index2 >= 0) {
|
|
129
|
+
for (let next = index2 + 1; next < previous.length; next += 1) {
|
|
130
|
+
if (current.includes(previous[next])) return previous[next];
|
|
131
|
+
}
|
|
132
|
+
for (let before = index2 - 1; before >= 0; before -= 1) {
|
|
133
|
+
if (current.includes(previous[before])) return previous[before];
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return current[0];
|
|
137
|
+
}
|
|
138
|
+
function getErrorStatus(error) {
|
|
139
|
+
const err = (
|
|
140
|
+
/** @type {any} */
|
|
141
|
+
error
|
|
142
|
+
);
|
|
143
|
+
const status = err?.status ?? err?.response?.status;
|
|
144
|
+
return typeof status === "number" ? status : null;
|
|
145
|
+
}
|
|
146
|
+
exports.AUTO_REFRESH_INTERVAL_MS = AUTO_REFRESH_INTERVAL_MS;
|
|
147
|
+
exports.DASHBOARD_COMPACT_TABLE_COLUMNS = DASHBOARD_COMPACT_TABLE_COLUMNS;
|
|
148
|
+
exports.DASHBOARD_TABLE_COLUMNS = DASHBOARD_TABLE_COLUMNS;
|
|
149
|
+
exports.DEFAULT_PAGE_SIZE = DEFAULT_PAGE_SIZE;
|
|
150
|
+
exports.PAGE_SIZE_OPTIONS = PAGE_SIZE_OPTIONS;
|
|
151
|
+
exports.RISK_SETTINGS_PATH = RISK_SETTINGS_PATH;
|
|
152
|
+
exports.RowActions = RowActions;
|
|
153
|
+
exports.encodeSearchQuery = encodeSearchQuery;
|
|
154
|
+
exports.getBrowserStorage = getBrowserStorage;
|
|
155
|
+
exports.getErrorStatus = getErrorStatus;
|
|
156
|
+
exports.getExportDeviceInfo = getExportDeviceInfo;
|
|
157
|
+
exports.getRiskAvailability = getRiskAvailability;
|
|
158
|
+
exports.getSessionUserLabels = getSessionUserLabels;
|
|
159
|
+
exports.getUserEditPath = getUserEditPath;
|
|
160
|
+
exports.hasActiveFilters = hasActiveFilters;
|
|
161
|
+
exports.isRiskSource = isRiskSource;
|
|
162
|
+
exports.parseDashboardQuery = parseDashboardQuery;
|
|
163
|
+
exports.pickFocusSessionId = pickFocusSessionId;
|
|
164
|
+
exports.readDisclosureOpen = readDisclosureOpen;
|
|
165
|
+
exports.riskDependentControl = riskDependentControl;
|
|
166
|
+
exports.shouldIsolateActionKey = shouldIsolateActionKey;
|
|
167
|
+
exports.shouldRedispatchEscape = shouldRedispatchEscape;
|
|
168
|
+
exports.shouldUseCompactTable = shouldUseCompactTable;
|
|
169
|
+
exports.writeDisclosureOpen = writeDisclosureOpen;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Flex } from "@strapi/design-system";
|
|
3
|
+
import { aJ as isSessionFilter, aK as DEFAULT_SESSION_FILTER, aL as isEndReasonFilter, aM as DEFAULT_END_REASON_FILTER, d as getDevicePresentation, p as presentText } from "./index-DVQ7tdTC.mjs";
|
|
4
|
+
const RowActions = ({ children, ...props }) => /* @__PURE__ */ jsx(Flex, { justifyContent: "flex-end", alignItems: "center", gap: 1, "data-row-actions": "", ...props, children });
|
|
5
|
+
const RISK_SOURCES = Object.freeze(["anonymous-ip", "asn-heuristic"]);
|
|
6
|
+
const RISK_SETTINGS_PATH = "/settings/magic-sessionmanager/general?tab=location-data";
|
|
7
|
+
const isRiskSource = (value) => RISK_SOURCES.includes(
|
|
8
|
+
/** @type {string} */
|
|
9
|
+
value
|
|
10
|
+
);
|
|
11
|
+
function getRiskAvailability(geoIpStatus) {
|
|
12
|
+
const risk = geoIpStatus?.risk;
|
|
13
|
+
if (!risk || typeof risk !== "object" || typeof risk.available !== "boolean") {
|
|
14
|
+
return { state: "unknown", source: null };
|
|
15
|
+
}
|
|
16
|
+
if (risk.available && isRiskSource(risk.source)) {
|
|
17
|
+
return { state: "available", source: risk.source };
|
|
18
|
+
}
|
|
19
|
+
return { state: "missing", source: null };
|
|
20
|
+
}
|
|
21
|
+
function riskDependentControl(saved, state) {
|
|
22
|
+
if (state !== "missing")
|
|
23
|
+
return { checked: Boolean(saved), disabled: false, savedOnButInactive: false };
|
|
24
|
+
return { checked: false, disabled: true, savedOnButInactive: Boolean(saved) };
|
|
25
|
+
}
|
|
26
|
+
const PAGE_SIZE_OPTIONS = Object.freeze(["10", "25", "50", "100"]);
|
|
27
|
+
const DEFAULT_PAGE_SIZE = "25";
|
|
28
|
+
const DASHBOARD_TABLE_COLUMNS = 7;
|
|
29
|
+
const DASHBOARD_COMPACT_TABLE_COLUMNS = 5;
|
|
30
|
+
const AUTO_REFRESH_INTERVAL_MS = 10 * 60 * 1e3;
|
|
31
|
+
const HOW_IT_WORKS_STORAGE_KEY = "magic-sessionmanager.dashboard.howSessionsWork";
|
|
32
|
+
const USER_EDIT_PATH = "/content-manager/collection-types/plugin::users-permissions.user/";
|
|
33
|
+
const readQueryText = (value) => {
|
|
34
|
+
if (typeof value !== "string") return "";
|
|
35
|
+
try {
|
|
36
|
+
return decodeURIComponent(value).trim();
|
|
37
|
+
} catch {
|
|
38
|
+
return value.trim();
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
function parseDashboardQuery(query = {}) {
|
|
42
|
+
const source = query || {};
|
|
43
|
+
const page = Number.parseInt(String(source.page ?? "1"), 10);
|
|
44
|
+
const pageSize = PAGE_SIZE_OPTIONS.includes(String(source.pageSize)) ? String(source.pageSize) : DEFAULT_PAGE_SIZE;
|
|
45
|
+
const status = isSessionFilter(source.status) ? (
|
|
46
|
+
/** @type {string} */
|
|
47
|
+
source.status
|
|
48
|
+
) : DEFAULT_SESSION_FILTER;
|
|
49
|
+
const reason = status === "ended" && isEndReasonFilter(source.reason) ? (
|
|
50
|
+
/** @type {string} */
|
|
51
|
+
source.reason
|
|
52
|
+
) : DEFAULT_END_REASON_FILTER;
|
|
53
|
+
const search = readQueryText(source.search) || readQueryText(source._q);
|
|
54
|
+
return { page: Number.isFinite(page) && page >= 1 ? page : 1, pageSize, status, reason, search };
|
|
55
|
+
}
|
|
56
|
+
function encodeSearchQuery(value) {
|
|
57
|
+
const text = typeof value === "string" ? value.trim() : "";
|
|
58
|
+
return text ? encodeURIComponent(text) : void 0;
|
|
59
|
+
}
|
|
60
|
+
function hasActiveFilters(state) {
|
|
61
|
+
if (!state) return false;
|
|
62
|
+
return state.status !== DEFAULT_SESSION_FILTER || Boolean(state.reason) && state.reason !== DEFAULT_END_REASON_FILTER || Boolean(state.search);
|
|
63
|
+
}
|
|
64
|
+
function getSessionUserLabels(session) {
|
|
65
|
+
const username = presentText(session?.user?.username);
|
|
66
|
+
const email = presentText(session?.user?.email);
|
|
67
|
+
const primary = username || email;
|
|
68
|
+
return {
|
|
69
|
+
primary,
|
|
70
|
+
secondary: username && email ? email : "",
|
|
71
|
+
accessible: primary || presentText(session?.id)
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function getUserEditPath(session) {
|
|
75
|
+
const documentId = presentText(session?.user?.documentId);
|
|
76
|
+
return documentId ? `${USER_EDIT_PATH}${encodeURIComponent(documentId)}` : null;
|
|
77
|
+
}
|
|
78
|
+
function getExportDeviceInfo(session, unavailableValue = "") {
|
|
79
|
+
const device = getDevicePresentation(session);
|
|
80
|
+
return {
|
|
81
|
+
device: device.deviceType || unavailableValue,
|
|
82
|
+
browser: device.browser || unavailableValue,
|
|
83
|
+
browserVersion: device.browserVersion || "",
|
|
84
|
+
os: device.os || unavailableValue
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function readDisclosureOpen(storage) {
|
|
88
|
+
try {
|
|
89
|
+
return storage?.getItem(HOW_IT_WORKS_STORAGE_KEY) === "open";
|
|
90
|
+
} catch {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function writeDisclosureOpen(storage, open) {
|
|
95
|
+
try {
|
|
96
|
+
storage?.setItem(HOW_IT_WORKS_STORAGE_KEY, open ? "open" : "closed");
|
|
97
|
+
} catch {
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
function getBrowserStorage() {
|
|
101
|
+
try {
|
|
102
|
+
return typeof window !== "undefined" ? window.localStorage : null;
|
|
103
|
+
} catch {
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function shouldIsolateActionKey(key, fromInsideGroup) {
|
|
108
|
+
if (!fromInsideGroup) return true;
|
|
109
|
+
return key === "Enter" || key === " " || key === "Spacebar";
|
|
110
|
+
}
|
|
111
|
+
const FULL_TABLE_MIN_WIDTH = 1200;
|
|
112
|
+
function shouldUseCompactTable(listWidth, isBelowLarge) {
|
|
113
|
+
if (isBelowLarge) return true;
|
|
114
|
+
if (!Number.isFinite(listWidth) || listWidth <= 0) return false;
|
|
115
|
+
return listWidth < FULL_TABLE_MIN_WIDTH;
|
|
116
|
+
}
|
|
117
|
+
function shouldRedispatchEscape(key, fromInsideGroup) {
|
|
118
|
+
return !fromInsideGroup && key === "Escape";
|
|
119
|
+
}
|
|
120
|
+
function pickFocusSessionId(previousIds, currentIds, sessionId) {
|
|
121
|
+
const current = Array.isArray(currentIds) ? currentIds.map(String) : [];
|
|
122
|
+
if (current.length === 0) return null;
|
|
123
|
+
const target = String(sessionId);
|
|
124
|
+
if (current.includes(target)) return target;
|
|
125
|
+
const previous = Array.isArray(previousIds) ? previousIds.map(String) : [];
|
|
126
|
+
const index = previous.indexOf(target);
|
|
127
|
+
if (index >= 0) {
|
|
128
|
+
for (let next = index + 1; next < previous.length; next += 1) {
|
|
129
|
+
if (current.includes(previous[next])) return previous[next];
|
|
130
|
+
}
|
|
131
|
+
for (let before = index - 1; before >= 0; before -= 1) {
|
|
132
|
+
if (current.includes(previous[before])) return previous[before];
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return current[0];
|
|
136
|
+
}
|
|
137
|
+
function getErrorStatus(error) {
|
|
138
|
+
const err = (
|
|
139
|
+
/** @type {any} */
|
|
140
|
+
error
|
|
141
|
+
);
|
|
142
|
+
const status = err?.status ?? err?.response?.status;
|
|
143
|
+
return typeof status === "number" ? status : null;
|
|
144
|
+
}
|
|
145
|
+
export {
|
|
146
|
+
AUTO_REFRESH_INTERVAL_MS as A,
|
|
147
|
+
DASHBOARD_COMPACT_TABLE_COLUMNS as D,
|
|
148
|
+
PAGE_SIZE_OPTIONS as P,
|
|
149
|
+
RISK_SETTINGS_PATH as R,
|
|
150
|
+
getUserEditPath as a,
|
|
151
|
+
RowActions as b,
|
|
152
|
+
shouldRedispatchEscape as c,
|
|
153
|
+
DASHBOARD_TABLE_COLUMNS as d,
|
|
154
|
+
getBrowserStorage as e,
|
|
155
|
+
pickFocusSessionId as f,
|
|
156
|
+
getSessionUserLabels as g,
|
|
157
|
+
encodeSearchQuery as h,
|
|
158
|
+
isRiskSource as i,
|
|
159
|
+
shouldUseCompactTable as j,
|
|
160
|
+
DEFAULT_PAGE_SIZE as k,
|
|
161
|
+
getExportDeviceInfo as l,
|
|
162
|
+
getErrorStatus as m,
|
|
163
|
+
hasActiveFilters as n,
|
|
164
|
+
getRiskAvailability as o,
|
|
165
|
+
parseDashboardQuery as p,
|
|
166
|
+
riskDependentControl as q,
|
|
167
|
+
readDisclosureOpen as r,
|
|
168
|
+
shouldIsolateActionKey as s,
|
|
169
|
+
writeDisclosureOpen as w
|
|
170
|
+
};
|
|
@@ -350,8 +350,8 @@ const de = {
|
|
|
350
350
|
"settings.config.failed.lockout.suffix": "fehlgeschlagenen Anmeldungen",
|
|
351
351
|
"settings.config.clientIp.title": "Client-IP-Adresse",
|
|
352
352
|
"settings.config.clientIp.intro": "Alle IP-basierten Regeln hängen davon ab, dass die echte Client-Adresse gelesen wird.",
|
|
353
|
-
"settings.config.clientIp.trustProxy.label": "
|
|
354
|
-
"settings.config.clientIp.trustProxy.hint": "
|
|
353
|
+
"settings.config.clientIp.trustProxy.label": "Vertrauenswürdige Proxys",
|
|
354
|
+
"settings.config.clientIp.trustProxy.hint": "Leer lassen, um die Strapi-Einstellungen server.proxy (koa, ipHeader, maxIpsCount) zu verwenden. Andernfalls Ihre Proxys auflisten, eine IP-Adresse oder ein CIDR-Bereich pro Zeile: Nur bei einer Anfrage, die von einem aufgeführten Proxy kommt, wird X-Forwarded-For gelesen, und der Client ist die am weitesten rechts stehende Adresse, die nicht aufgeführt ist. Wirkt sich auf die erfasste IP-Adresse, die IP-Sperre und Standortabfragen aus.",
|
|
355
355
|
"settings.config.suspicious.title": "Verdächtige Anmeldungen",
|
|
356
356
|
"settings.config.suspicious.intro": "Weist neue Anmeldungen ab, die riskant wirken.",
|
|
357
357
|
"settings.config.suspicious.reject.label": "Verdächtige Anmeldungen ablehnen",
|
|
@@ -990,9 +990,11 @@ const de = {
|
|
|
990
990
|
"adminPanel.activity.read.signInsExport": "Anmeldeverlauf exportiert",
|
|
991
991
|
"adminPanel.activity.read.signIns": "Anmeldeverlauf abgerufen",
|
|
992
992
|
"adminPanel.activity.event.purged": "Alte Ereignisse gelöscht",
|
|
993
|
-
"adminPanel.activity.event.
|
|
994
|
-
"adminPanel.activity.event.
|
|
995
|
-
"adminPanel.activity.event.
|
|
993
|
+
"adminPanel.activity.event.weakKey": "Schwacher Verschlüsselungsschlüssel",
|
|
994
|
+
"adminPanel.activity.event.weakKey.detail": "SESSION_ENCRYPTION_KEY ist kürzer als 32 Bytes. Die nächste Hauptversion startet damit nicht mehr.",
|
|
995
|
+
"adminPanel.activity.event.userFailed": "Anmeldung fehlgeschlagen",
|
|
996
|
+
"adminPanel.activity.event.userRefused": "Anmeldung abgelehnt",
|
|
997
|
+
"adminPanel.activity.event.userLockout": "Gesperrt",
|
|
996
998
|
"adminPanel.activity.event.userUnlock": "Sperre aufgehoben",
|
|
997
999
|
"adminPanel.activity.event.userLimit": "Sitzungslimit erreicht",
|
|
998
1000
|
"adminPanel.activity.event.userPassword": "Nach Passwortänderung abgemeldet",
|
|
@@ -1018,7 +1020,7 @@ const de = {
|
|
|
1018
1020
|
"impersonation.result.title": "Sie handeln als {user}",
|
|
1019
1021
|
"impersonation.modal.title": "Als {user} anmelden",
|
|
1020
1022
|
"impersonation.modal.intro": "Sie erhalten eine kurzlebige Anmeldung als dieser Benutzer, um ein Problem nachzustellen. Passwort, E-Mail-Adresse, Konto und Sitzungen lassen sich damit nicht ändern. Der Vorgang wird im Sicherheitsprotokoll festgehalten.",
|
|
1021
|
-
"impersonation.reason.hint": "Wird im Sicherheitsprotokoll gespeichert
|
|
1023
|
+
"impersonation.reason.hint": "Wird für Admins im Sicherheitsprotokoll gespeichert. Der Benutzer sieht ihn nur in der optionalen E-Mail; sein Datenexport nennt nur, dass ein Administrator das Konto geöffnet hat.",
|
|
1022
1024
|
"impersonation.reason.label": "Grund",
|
|
1023
1025
|
"impersonation.reason.placeholder": "Zum Beispiel: Ticket 4711",
|
|
1024
1026
|
"impersonation.duration.label": "Dauer",
|
|
@@ -1095,7 +1097,77 @@ const de = {
|
|
|
1095
1097
|
"impersonation.preview.close": "Beenden und schließen",
|
|
1096
1098
|
"impersonation.preview.start": "Berechtigungen ansehen",
|
|
1097
1099
|
"adminPanel.actions.viewAs": "Als {name} ansehen",
|
|
1098
|
-
"adminPanel.actions.viewAsShort": "Ansehen als"
|
|
1100
|
+
"adminPanel.actions.viewAsShort": "Ansehen als",
|
|
1101
|
+
"adminPanel.activity.event.impersonationStarted": "Identitätsübernahme gestartet",
|
|
1102
|
+
"adminPanel.activity.event.impersonationEnded": "Identitätsübernahme beendet",
|
|
1103
|
+
"adminPanel.activity.event.impersonationExpired": "Identitätsübernahme abgelaufen",
|
|
1104
|
+
"adminPanel.activity.event.impersonationRefused": "Identitätsübernahme abgelehnt",
|
|
1105
|
+
"adminPanel.activity.event.logExported": "Sicherheitsprotokoll exportiert",
|
|
1106
|
+
"adminPanel.activity.read.userActivity": "Sicherheitsaktivität der App-Benutzer abgerufen",
|
|
1107
|
+
"adminPanel.activity.read.userActivityExport": "Sicherheitsaktivität der App-Benutzer exportiert",
|
|
1108
|
+
"userActivity.column.user": "Benutzer",
|
|
1109
|
+
"userActivity.detail.export.counts": "Der Benutzer hat {count, plural, one {# Sitzung} other {# Sitzungen}} und {events, plural, one {# Sicherheitsereignis} other {# Sicherheitsereignisse}} heruntergeladen",
|
|
1110
|
+
"userActivity.detail.impersonation.alreadyActive": "Für diesen Benutzer läuft bereits eine Identitätsübernahme",
|
|
1111
|
+
"userActivity.detail.impersonation.apiToken": "Admin-API-Tokens können keine Identität übernehmen",
|
|
1112
|
+
"userActivity.detail.impersonation.blocked": "Das Konto ist gesperrt",
|
|
1113
|
+
"userActivity.detail.impersonation.callAccount": "Ein Datenexport oder „Das war ich nicht“ wurde abgewiesen",
|
|
1114
|
+
"userActivity.detail.impersonation.callCredentials": "Eine Anmelde-, Passwort- oder E-Mail-Anfrage wurde abgewiesen",
|
|
1115
|
+
"userActivity.detail.impersonation.callSessions": "Eine Anfrage zum Beenden von Sitzungen wurde abgewiesen",
|
|
1116
|
+
"userActivity.detail.impersonation.callMutation": "Eine GraphQL-Mutation wurde abgewiesen",
|
|
1117
|
+
"userActivity.detail.impersonation.disabled": "Die Identitätsübernahme ist ausgeschaltet",
|
|
1118
|
+
"userActivity.detail.impersonation.duration": "Für {minutes, plural, one {# Minute} other {# Minuten}}",
|
|
1119
|
+
"userActivity.detail.impersonation.endedByAdmin": "Von einem Admin beendet",
|
|
1120
|
+
"userActivity.detail.impersonation.endedDisabled": "Beendet, weil die Identitätsübernahme ausgeschaltet wurde",
|
|
1121
|
+
"userActivity.detail.impersonation.endedFailed": "Konnte nicht abgeschlossen werden",
|
|
1122
|
+
"userActivity.detail.impersonation.expired": "Die Zeit ist abgelaufen",
|
|
1123
|
+
"userActivity.detail.limit.ended": "{ended, plural, one {# ältere Sitzung} other {# ältere Sitzungen}} beendet, um unter {limit, number} zu bleiben",
|
|
1124
|
+
"userActivity.detail.limit.endedOnly": "{ended, plural, one {# ältere Sitzung} other {# ältere Sitzungen}} beendet",
|
|
1125
|
+
"userActivity.detail.lockout.account": "Konto für {minutes, plural, one {# Minute} other {# Minuten}} gesperrt nach {failures, plural, one {# fehlgeschlagenen Anmeldung} other {# fehlgeschlagenen Anmeldungen}}",
|
|
1126
|
+
"userActivity.detail.lockout.ip": "IP-Adresse für {minutes, plural, one {# Minute} other {# Minuten}} gesperrt nach {failures, plural, one {# fehlgeschlagenen Anmeldung} other {# fehlgeschlagenen Anmeldungen}}",
|
|
1127
|
+
"userActivity.detail.notMe.all": "Der Benutzer hat alle seine Sitzungen beendet",
|
|
1128
|
+
"userActivity.detail.notMe.session": "Der Benutzer hat diese Sitzung beendet",
|
|
1129
|
+
"userActivity.detail.password.ended": "{ended, plural, =0 {Keine andere Sitzung war offen} one {# andere Sitzung beendet} other {# andere Sitzungen beendet}}",
|
|
1130
|
+
"userActivity.detail.refused.country": "Anmeldungen aus diesem Land sind gesperrt",
|
|
1131
|
+
"userActivity.detail.refused.limit": "Sitzungslimit von {limit, number} erreicht",
|
|
1132
|
+
"userActivity.detail.refused.limitReached": "Sitzungslimit erreicht",
|
|
1133
|
+
"userActivity.detail.refused.location": "Der Standort konnte nicht geprüft werden",
|
|
1134
|
+
"userActivity.detail.refused.lockout": "Das Konto oder die IP-Adresse war gesperrt",
|
|
1135
|
+
"userActivity.detail.refused.risk": "Riskante Adresse (VPN, Proxy oder Tor)",
|
|
1136
|
+
"userActivity.detail.refused.tooMany": "Zu viele Anmeldungen gleichzeitig",
|
|
1137
|
+
"userActivity.detail.travel.countries": "{from} nach {to}",
|
|
1138
|
+
"userActivity.detail.travel.distance": "{distance, number} km von der letzten Anmeldung entfernt, {speed, number} km/h",
|
|
1139
|
+
"userActivity.detail.travel.reauthenticate": "Alle Sitzungen beendet, eine neue Anmeldung war nötig",
|
|
1140
|
+
"userActivity.detail.unknownAccount": "Kein Konto mit dieser E-Mail-Adresse oder diesem Benutzernamen",
|
|
1141
|
+
"userActivity.detail.unlock.account": "Ein Admin hat das Konto entsperrt",
|
|
1142
|
+
"userActivity.detail.unlock.ip": "Ein Admin hat eine IP-Adresse entsperrt",
|
|
1143
|
+
"userActivity.details.openUser": "Benutzer öffnen",
|
|
1144
|
+
"userActivity.details.reasonGiven": "Angegebener Grund",
|
|
1145
|
+
"userActivity.details.what": "Was passiert ist",
|
|
1146
|
+
"userActivity.doneBy.system": "Automatisch",
|
|
1147
|
+
"userActivity.filter.all": "Alle Ereignisse",
|
|
1148
|
+
"userActivity.filter.failed": "Fehlgeschlagene und abgelehnte Anmeldungen",
|
|
1149
|
+
"userActivity.filter.impersonation": "Identitätsübernahme",
|
|
1150
|
+
"userActivity.filter.lockouts": "Sperren und Entsperrungen",
|
|
1151
|
+
"userActivity.filter.privacy": "Exporte personenbezogener Daten",
|
|
1152
|
+
"userActivity.filter.sessions": "Sitzungslimit und Passwortänderung",
|
|
1153
|
+
"userActivity.filter.suspicious": "Neue Geräte, unmögliche Reisen, „Das war ich nicht“",
|
|
1154
|
+
"userActivity.identity.ipLock": "IP-Adresse",
|
|
1155
|
+
"userActivity.identity.placeholder": "Benutzer Nr. {id}",
|
|
1156
|
+
"userActivity.page.export": "Sicherheitsaktivität der App-Benutzer mit diesen Filtern als CSV exportieren",
|
|
1157
|
+
"userActivity.page.onlyUser": "Nur Ereignisse von {name} anzeigen",
|
|
1158
|
+
"userActivity.page.recordingOff": "Fehlgeschlagene und abgelehnte Anmeldungen werden nicht aufgezeichnet. Die anderen Ereignisse schon.",
|
|
1159
|
+
"userActivity.page.removeUser": "Wieder alle Benutzer anzeigen",
|
|
1160
|
+
"userActivity.page.selectedUser": "Ausgewählter Benutzer",
|
|
1161
|
+
"userActivity.page.subtitle": "Fehlgeschlagene und abgelehnte Anmeldungen, Sperren, Sitzungslimits, neue Geräte, unmögliche Reisen, „Das war ich nicht“-Meldungen, Datenexporte und Identitätsübernahmen der Benutzer Ihrer App. Neueste zuerst.",
|
|
1162
|
+
"userActivity.page.title": "Sicherheitsaktivität der App-Benutzer",
|
|
1163
|
+
"userActivity.page.userFilter": "Benutzer: {name}",
|
|
1164
|
+
"userActivity.panel.empty": "Für {user} wurden keine Sicherheitsereignisse aufgezeichnet.",
|
|
1165
|
+
"userActivity.panel.listLabel": "Sicherheitsaktivität von {user}",
|
|
1166
|
+
"userActivity.panel.showAll": "Gesamte Sicherheitsaktivität anzeigen",
|
|
1167
|
+
"userActivity.panel.title": "Sicherheitsaktivität",
|
|
1168
|
+
"userActivity.recent.empty": "Noch keine Sicherheitsereignisse von App-Benutzern.",
|
|
1169
|
+
"userActivity.recent.subtitle": "Die neuesten fehlgeschlagenen und abgelehnten Anmeldungen, Sperren, neuen Geräte, unmöglichen Reisen und Identitätsübernahmen der Benutzer Ihrer App. Wählen Sie ein Ereignis für die Details.",
|
|
1170
|
+
"userActivity.recent.title": "Sicherheitsaktivität"
|
|
1099
1171
|
};
|
|
1100
1172
|
export {
|
|
1101
1173
|
de as default
|