PLT-6987 User access token UI (#7007)
* Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4ef844298f
Коммит
5da5c0bbfb
@@ -745,6 +745,10 @@
|
||||
"admin.select_team.close": "Close",
|
||||
"admin.select_team.select": "Select",
|
||||
"admin.select_team.selectTeam": "Select Team",
|
||||
"admin.service.userAccessTokensTitle": "Enable User Access Tokens: ",
|
||||
"admin.service.userAccessTokensDescription": "When true, users can create <a href=\"https://about.mattermost.com/default-user-access-tokens\" target=\"_blank\">user access tokens</a> for integrations in <strong>Account Settings > Security</strong>. They can be used to authenticate against the API and give full access to the account.<br/><br/>To manage who can create user access tokens, go to the <strong>System Console > Users</strong> page.",
|
||||
"admin.service.userAccessTokensNameLabel": "Name: ",
|
||||
"admin.service.userAccessTokensIdLabel": "Token ID: ",
|
||||
"admin.service.attemptDescription": "Number of login attempts allowed before a user is locked out and required to reset their password via email.",
|
||||
"admin.service.attemptExample": "E.g.: \"10\"",
|
||||
"admin.service.attemptTitle": "Maximum Login Attempts:",
|
||||
@@ -954,6 +958,26 @@
|
||||
"admin.team_analytics.activeUsers": "Active Users With Posts",
|
||||
"admin.team_analytics.totalPosts": "Total Posts",
|
||||
"admin.true": "true",
|
||||
"admin.manage_tokens.userAccessTokensNone": "No user access tokens.",
|
||||
"admin.manage_tokens.manageTokensTitle": "Manage User Access Tokens",
|
||||
"admin.manage_tokens.userAccessTokensDescription": "User access tokens function similar to session tokens and can be used by integrations to <a href=\"https://about.mattermost.com/default-api-authentication\" target=\"_blank\">authenticate against the REST API</a>. Learn more about <a href=\"https://about.mattermost.com/default-user-access-tokens\" target=\"_blank\">user access tokens</a>.",
|
||||
"admin.manage_roles.saveError": "Unable to save roles.",
|
||||
"admin.manage_roles.additionalRoles": "Select additional permissions for the account. <a href=\"https://about.mattermost.com/default-permissions\" target=\"_blank\">Read more about roles and permissions</a>.",
|
||||
"admin.manage_roles.postAllRoleTitle": "post:all",
|
||||
"admin.manage_roles.postAllRole": "Access to post to all Mattermost channels including direct messages.",
|
||||
"admin.manage_roles.postAllPublicRoleTitle": "post:channels",
|
||||
"admin.manage_roles.postAllPublicRole": "Access to post to all Mattermost public channels.",
|
||||
"admin.manage_roles.allowUserAccessTokens": "Allow this account to generate <a href=\"https://about.mattermost.com/default-user-access-tokens\" target=\"_blank\">user access tokens</a>.",
|
||||
"admin.manage_roles.systemAdmin": "System Admin",
|
||||
"admin.manage_roles.systemMember": "Member",
|
||||
"admin.manage_roles.manageRolesTitle": "Manage Roles",
|
||||
"admin.manage_roles.cancel": "Cancel",
|
||||
"admin.manage_roles.save": "Save",
|
||||
"admin.user_item.userAccessTokenNo": "<strong>User Access Tokens:</strong> No",
|
||||
"admin.user_item.userAccessTokenAdmin": "<strong>User Access Tokens:</strong> Yes (with system_admin)",
|
||||
"admin.user_item.userAccessTokenPostAll": "<strong>User Access Tokens:</strong> Yes (with post:all)",
|
||||
"admin.user_item.userAccessTokenPostAllPublic": "<strong>User Access Tokens:</strong> Yes (with post:channels)",
|
||||
"admin.user_item.userAccessTokenYes": "<strong>User Access Tokens:</strong> Yes",
|
||||
"admin.user_item.authServiceEmail": "<strong>Sign-in Method:</strong> Email",
|
||||
"admin.user_item.authServiceNotEmail": "<strong>Sign-in Method:</strong> {service}",
|
||||
"admin.user_item.confirmDemoteDescription": "If you demote yourself from the System Admin role and there is not another user with System Admin privileges, you'll need to re-assign a System Admin by accessing the Mattermost server through a terminal and running the following command.",
|
||||
@@ -968,6 +992,8 @@
|
||||
"admin.user_item.makeSysAdmin": "Make System Admin",
|
||||
"admin.user_item.makeTeamAdmin": "Make Team Admin",
|
||||
"admin.user_item.manageTeams": "Manage Teams",
|
||||
"admin.user_item.manageRoles": "Manage Roles",
|
||||
"admin.user_item.manageTokens": "Manage Tokens",
|
||||
"admin.user_item.member": "Member",
|
||||
"admin.user_item.mfaNo": "<strong>MFA</strong>: No",
|
||||
"admin.user_item.mfaYes": "<strong>MFA</strong>: Yes",
|
||||
@@ -2434,6 +2460,27 @@
|
||||
"user.settings.push_notification.send": "Send mobile push notifications",
|
||||
"user.settings.push_notification.status": "Trigger push notifications when",
|
||||
"user.settings.push_notification.status_info": "Notification alerts are only pushed to your mobile device when your online status matches the selection above.",
|
||||
"user.settings.tokens.confirmCreateTitle": "Create System Admin User Access Token",
|
||||
"user.settings.tokens.confirmCreateMessage": "You are generating a user access token with System Admin permissions. Are you sure want to create this token?",
|
||||
"user.settings.tokens.confirmCreateButton": "Yes, Create",
|
||||
"user.settings.tokens.confirmDeleteTitle": "Delete {name} Token?",
|
||||
"user.settings.tokens.confirmDeleteMessage": "Any integrations using this token will no longer be able to access the Mattermost API. You cannot undo this action. Are you sure want to delete this token?",
|
||||
"user.settings.tokens.confirmDeleteButton": "Yes, Delete",
|
||||
"user.settings.tokens.tokenId": "Token ID: ",
|
||||
"user.settings.tokens.delete": "Delete",
|
||||
"user.settings.tokens.userAccessTokensNone": "No user access tokens.",
|
||||
"user.settings.tokens.description": "<a href=\"https://about.mattermost.com/default-user-access-tokens\" target=\"_blank\">User access tokens</a> function similar to session tokens and can be used by integrations to <a href=\"https://about.mattermost.com/default-api-authentication\" target=\"_blank\">authenticate against the REST API</a>.",
|
||||
"user.settings.tokens.description_mobile": "<a href=\"https://about.mattermost.com/default-user-access-tokens\" target=\"_blank\">User access tokens</a> function similar to session tokens and can be used by integrations to <a href=\"https://about.mattermost.com/default-api-authentication\" target=\"_blank\">authenticate against the REST API</a>. Create new tokens on your desktop.",
|
||||
"user.settings.tokens.name": "Name: ",
|
||||
"user.settings.tokens.nameDescription": "Give a name for your token, so you remember what it’s used for. A token is generated after you hit \"Save\".",
|
||||
"user.settings.tokens.save": "Save",
|
||||
"user.settings.tokens.cancel": "Cancel",
|
||||
"user.settings.tokens.id": "ID: ",
|
||||
"user.settings.tokens.token": "Token: ",
|
||||
"user.settings.tokens.copy": "Please copy the token below. You won't be able to see it again!",
|
||||
"user.settings.tokens.create": "Create New Token",
|
||||
"user.settings.tokens.title": "User Access Tokens",
|
||||
"user.settings.tokens.clickToEdit": "Click 'Edit' to manage your user access tokens",
|
||||
"user.settings.security.active": "Active",
|
||||
"user.settings.security.close": "Close",
|
||||
"user.settings.security.currentPassword": "Current Password",
|
||||
|
||||
Ссылка в новой задаче
Block a user