diff --git a/locales/index.d.ts b/locales/index.d.ts index e8b5ddd59c..8577b7a4ec 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -13491,6 +13491,10 @@ export interface Locale extends ILocale { * Any accounts listed here will be granted access to the token and may use it to access this account. */ "sharedAccessDescription": string; + /** + * Shared access allows another user to access your account without using your password. You may select exactly which features and data are available to guest users. + */ + "sharedAccessDescription2": string; /** * Share access */ @@ -13581,6 +13585,30 @@ export interface Locale extends ILocale { * Are you sure you want to revoke this token? {num} shared other users will lose shared access. */ "confirmRevokeSharedToken": ParameterizedString<"num">; + /** + * Grant shared access + */ + "grantSharedAccessButton": string; + /** + * No shared access listed + */ + "grantSharedAccessNoSelection": string; + /** + * No shared access users were selected. Please add at least one user in the "shared access" section. + */ + "grantSharedAccessNoSelection2": string; + /** + * Shared access granted + */ + "grantSharedAccessSuccess": string; + /** + * Shared access has been granted to {num} users. + */ + "grantSharedAccessSuccess2": ParameterizedString<"num">; + /** + * Are you sure you want to create a token with no permissions? + */ + "tokenHasNoPermissionsConfirm": string; } declare const locales: { [lang: string]: Locale; diff --git a/packages/frontend/src/pages/settings/security.vue b/packages/frontend/src/pages/settings/security.vue index 391118effd..12f6bdff6e 100644 --- a/packages/frontend/src/pages/settings/security.vue +++ b/packages/frontend/src/pages/settings/security.vue @@ -24,6 +24,19 @@ SPDX-License-Identifier: AGPL-3.0-only + + + + + +
+ {{ i18n.ts.grantSharedAccessButton }} + + +
+
+
+ @@ -53,8 +66,9 @@ SPDX-License-Identifier: AGPL-3.0-only