From dd76eca12958bbf267e8d9fab47ac7a0b0939d48 Mon Sep 17 00:00:00 2001 From: Martin Reinhardt Date: Tue, 16 Apr 2019 00:12:14 +0200 Subject: [PATCH] [IMPROVE] OAuth Role Sync (#13761) --- .../server/custom_oauth_server.js | 15 ++++++- app/custom-oauth/server/oauth_helpers.js | 42 +++++++++++++++++++ app/lib/server/methods/addOAuthService.js | 2 + app/lib/server/methods/removeOAuthService.js | 2 + app/lib/server/startup/oAuthServicesUpdate.js | 4 ++ packages/rocketchat-i18n/i18n/af.i18n.json | 1 + packages/rocketchat-i18n/i18n/ar.i18n.json | 1 + packages/rocketchat-i18n/i18n/az.i18n.json | 1 + packages/rocketchat-i18n/i18n/be-BY.i18n.json | 1 + packages/rocketchat-i18n/i18n/bg.i18n.json | 1 + packages/rocketchat-i18n/i18n/bs.i18n.json | 1 + packages/rocketchat-i18n/i18n/ca.i18n.json | 1 + packages/rocketchat-i18n/i18n/cs.i18n.json | 1 + packages/rocketchat-i18n/i18n/cy.i18n.json | 1 + packages/rocketchat-i18n/i18n/da.i18n.json | 1 + packages/rocketchat-i18n/i18n/de-AT.i18n.json | 1 + packages/rocketchat-i18n/i18n/de-IN.i18n.json | 1 + packages/rocketchat-i18n/i18n/de.i18n.json | 1 + packages/rocketchat-i18n/i18n/el.i18n.json | 1 + packages/rocketchat-i18n/i18n/en.i18n.json | 2 + packages/rocketchat-i18n/i18n/eo.i18n.json | 1 + packages/rocketchat-i18n/i18n/es.i18n.json | 1 + packages/rocketchat-i18n/i18n/fa.i18n.json | 1 + packages/rocketchat-i18n/i18n/fi.i18n.json | 1 + packages/rocketchat-i18n/i18n/fr.i18n.json | 1 + packages/rocketchat-i18n/i18n/he.i18n.json | 1 + packages/rocketchat-i18n/i18n/hr.i18n.json | 3 +- packages/rocketchat-i18n/i18n/hu.i18n.json | 3 +- packages/rocketchat-i18n/i18n/id.i18n.json | 1 + packages/rocketchat-i18n/i18n/it.i18n.json | 3 +- packages/rocketchat-i18n/i18n/ja.i18n.json | 1 + packages/rocketchat-i18n/i18n/km.i18n.json | 1 + packages/rocketchat-i18n/i18n/ko.i18n.json | 1 + packages/rocketchat-i18n/i18n/ku.i18n.json | 1 + packages/rocketchat-i18n/i18n/lo.i18n.json | 1 + packages/rocketchat-i18n/i18n/lt.i18n.json | 1 + packages/rocketchat-i18n/i18n/lv.i18n.json | 1 + packages/rocketchat-i18n/i18n/mn.i18n.json | 1 + packages/rocketchat-i18n/i18n/ms-MY.i18n.json | 1 + packages/rocketchat-i18n/i18n/nl.i18n.json | 1 + packages/rocketchat-i18n/i18n/no.i18n.json | 1 + packages/rocketchat-i18n/i18n/pl.i18n.json | 1 + packages/rocketchat-i18n/i18n/pt-BR.i18n.json | 3 +- packages/rocketchat-i18n/i18n/pt.i18n.json | 1 + packages/rocketchat-i18n/i18n/ro.i18n.json | 1 + packages/rocketchat-i18n/i18n/ru.i18n.json | 3 +- packages/rocketchat-i18n/i18n/sk-SK.i18n.json | 1 + packages/rocketchat-i18n/i18n/sl-SI.i18n.json | 1 + packages/rocketchat-i18n/i18n/sq.i18n.json | 1 + packages/rocketchat-i18n/i18n/sr.i18n.json | 1 + packages/rocketchat-i18n/i18n/sv.i18n.json | 1 + packages/rocketchat-i18n/i18n/ta-IN.i18n.json | 1 + packages/rocketchat-i18n/i18n/th-TH.i18n.json | 1 + packages/rocketchat-i18n/i18n/tr.i18n.json | 3 +- packages/rocketchat-i18n/i18n/uk.i18n.json | 1 + packages/rocketchat-i18n/i18n/vi-VN.i18n.json | 1 + packages/rocketchat-i18n/i18n/zh-HK.i18n.json | 1 + packages/rocketchat-i18n/i18n/zh-TW.i18n.json | 1 + packages/rocketchat-i18n/i18n/zh.i18n.json | 1 + 59 files changed, 125 insertions(+), 7 deletions(-) create mode 100644 app/custom-oauth/server/oauth_helpers.js diff --git a/app/custom-oauth/server/custom_oauth_server.js b/app/custom-oauth/server/custom_oauth_server.js index 0e82059ad8e..031098eab2e 100644 --- a/app/custom-oauth/server/custom_oauth_server.js +++ b/app/custom-oauth/server/custom_oauth_server.js @@ -6,6 +6,7 @@ import { HTTP } from 'meteor/http'; import { ServiceConfiguration } from 'meteor/service-configuration'; import { Logger } from '../../logger'; import { Users } from '../../models'; +import { mapRolesFromSSO, updateRolesFromSSO } from './oauth_helpers'; import _ from 'underscore'; import { isURL } from '../../utils/lib/isURL'; import { registerAccessTokenService } from '../../lib/server/oauth/oauth'; @@ -72,6 +73,8 @@ export class CustomOAuth { this.identityTokenSentVia = options.identityTokenSentVia; this.usernameField = (options.usernameField || '').trim(); this.mergeUsers = options.mergeUsers; + this.mergeRoles = options.mergeRoles || false; + this.rolesClaim = options.rolesClaim || 'roles'; this.accessTokenParam = options.accessTokenParam; if (this.identityTokenSentVia == null || this.identityTokenSentVia === 'default') { @@ -319,6 +322,10 @@ export class CustomOAuth { return; } + if (this.mergeRoles) { + updateRolesFromSSO(user, serviceData, this.rolesClaim); + } + // User already created or merged and has identical name as before if (user.services && user.services[serviceName] && user.services[serviceName].id === serviceData.id && user.name === serviceData.name) { return; @@ -349,6 +356,10 @@ export class CustomOAuth { user.username = this.getUsername(user.services[this.name]); } + if (this.mergeRoles) { + user.roles = mapRolesFromSSO(user.services[this.name], this.rolesClaim); + } + return true; }); @@ -360,7 +371,9 @@ export class CustomOAuth { 'id', 'email', 'username', - 'name']; + 'name', + this.rolesClaim, + ]; registerAccessTokenService(name, function(options) { check(options, Match.ObjectIncluding({ diff --git a/app/custom-oauth/server/oauth_helpers.js b/app/custom-oauth/server/oauth_helpers.js new file mode 100644 index 00000000000..7b7a4abf9b0 --- /dev/null +++ b/app/custom-oauth/server/oauth_helpers.js @@ -0,0 +1,42 @@ +import { addUserRoles, removeUserFromRoles } from '../../authorization'; +import { Roles } from '../../models'; + + +// Returns list of roles from SSO identity +export function mapRolesFromSSO(identity, roleClaimName) { + let roles = []; + + if (identity && roleClaimName) { + // Adding roles + if (identity[roleClaimName] && Array.isArray(identity[roleClaimName])) { + roles = identity[roleClaimName].filter((val) => val !== 'offline_access' && val !== 'uma_authorization' && Roles.findOneByIdOrName(val)); + } + } + + return roles; +} + +// Updates the user with roles from SSO identity +export function updateRolesFromSSO(user, identity, roleClaimName) { + if (user && identity && roleClaimName) { + const rolesFromSSO = mapRolesFromSSO(identity, roleClaimName); + + if (!Array.isArray(user.roles)) { + user.roles = []; + } + + const toRemove = user.roles.filter((val) => !rolesFromSSO.includes(val)); + + // loop through roles that user has that sso doesnt have and remove + toRemove.forEach(function(role) { + removeUserFromRoles(user._id, role); + }); + + const toAdd = rolesFromSSO.filter((val) => !user.roles.includes(val)); + + // loop through roles sso has that user doesnt and add + toAdd.forEach(function(role) { + addUserRoles(user._id, role); + }); + } +} diff --git a/app/lib/server/methods/addOAuthService.js b/app/lib/server/methods/addOAuthService.js index 409e0456776..0e508c747d0 100644 --- a/app/lib/server/methods/addOAuthService.js +++ b/app/lib/server/methods/addOAuthService.js @@ -37,5 +37,7 @@ Meteor.methods({ settings.add(`Accounts_OAuth_Custom-${ name }-button_label_color` , '#FFFFFF' , { type: 'string' , group: 'OAuth', section: `Custom OAuth: ${ name }`, i18nLabel: 'Accounts_OAuth_Custom_Button_Label_Color', persistent: true }); settings.add(`Accounts_OAuth_Custom-${ name }-button_color` , '#1d74f5' , { type: 'string' , group: 'OAuth', section: `Custom OAuth: ${ name }`, i18nLabel: 'Accounts_OAuth_Custom_Button_Color', persistent: true }); settings.add(`Accounts_OAuth_Custom-${ name }-username_field` , '' , { type: 'string' , group: 'OAuth', section: `Custom OAuth: ${ name }`, i18nLabel: 'Accounts_OAuth_Custom_Username_Field', persistent: true }); + settings.add(`Accounts_OAuth_Custom-${ name }-roles_claim` , 'roles' , { type: 'string' , group: 'OAuth', section: `Custom OAuth: ${ name }`, i18nLabel: 'Accounts_OAuth_Custom_Roles_Claim', persistent: true }); + settings.add(`Accounts_OAuth_Custom-${ name }-merge_roles` , false , { type: 'boolean', group: 'OAuth', section: `Custom OAuth: ${ name }`, i18nLabel: 'Accounts_OAuth_Custom_Merge_Roles', persistent: true }); settings.add(`Accounts_OAuth_Custom-${ name }-merge_users` , false , { type: 'boolean', group: 'OAuth', section: `Custom OAuth: ${ name }`, i18nLabel: 'Accounts_OAuth_Custom_Merge_Users', persistent: true }); } }); diff --git a/app/lib/server/methods/removeOAuthService.js b/app/lib/server/methods/removeOAuthService.js index bd650a4b870..16f61ed3b89 100644 --- a/app/lib/server/methods/removeOAuthService.js +++ b/app/lib/server/methods/removeOAuthService.js @@ -35,6 +35,8 @@ Meteor.methods({ settings.removeById(`Accounts_OAuth_Custom-${ name }-button_color`); settings.removeById(`Accounts_OAuth_Custom-${ name }-login_style`); settings.removeById(`Accounts_OAuth_Custom-${ name }-username_field`); + settings.removeById(`Accounts_OAuth_Custom-${ name }-roles_claim`); + settings.removeById(`Accounts_OAuth_Custom-${ name }-merge_roles`); settings.removeById(`Accounts_OAuth_Custom-${ name }-merge_users`); }, }); diff --git a/app/lib/server/startup/oAuthServicesUpdate.js b/app/lib/server/startup/oAuthServicesUpdate.js index dc75dd93b38..1a459f955fe 100644 --- a/app/lib/server/startup/oAuthServicesUpdate.js +++ b/app/lib/server/startup/oAuthServicesUpdate.js @@ -46,7 +46,9 @@ function _OAuthServicesUpdate() { data.tokenSentVia = settings.get(`${ service.key }-token_sent_via`); data.identityTokenSentVia = settings.get(`${ service.key }-identity_token_sent_via`); data.usernameField = settings.get(`${ service.key }-username_field`); + data.rolesClaim = settings.get(`${ service.key }-roles_claim`); data.mergeUsers = settings.get(`${ service.key }-merge_users`); + data.mergeRoles = settings.get(`${ service.key }-merge_roles`); new CustomOAuth(serviceName.toLowerCase(), { serverURL: data.serverURL, tokenPath: data.tokenPath, @@ -57,7 +59,9 @@ function _OAuthServicesUpdate() { tokenSentVia: data.tokenSentVia, identityTokenSentVia: data.identityTokenSentVia, usernameField: data.usernameField, + rolesClaim: data.rolesClaim, mergeUsers: data.mergeUsers, + mergeRoles: data.mergeRoles, accessTokenParam: data.accessTokenParam, }); } diff --git a/packages/rocketchat-i18n/i18n/af.i18n.json b/packages/rocketchat-i18n/i18n/af.i18n.json index 63ee04cdc03..13f98058ae5 100644 --- a/packages/rocketchat-i18n/i18n/af.i18n.json +++ b/packages/rocketchat-i18n/i18n/af.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Pad", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Gebruikersnaam veld", + "Accounts_OAuth_Custom_Roles_Claim": "Rol / Groepen veldnaam", "Accounts_OAuth_Drupal": "Drupal-aanmelding geaktiveer", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 kliënt ID", diff --git a/packages/rocketchat-i18n/i18n/ar.i18n.json b/packages/rocketchat-i18n/i18n/ar.i18n.json index 774ee762f9c..b8596f319ac 100644 --- a/packages/rocketchat-i18n/i18n/ar.i18n.json +++ b/packages/rocketchat-i18n/i18n/ar.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "مسار رمزي", "Accounts_OAuth_Custom_Token_Sent_Via": "رمزي المرسلة عن طريق", "Accounts_OAuth_Custom_Username_Field": "حقل اسم المستخدم", + "Accounts_OAuth_Custom_Roles_Claim": "اسم حقل الأدوار / المجموعات", "Accounts_OAuth_Drupal": "تم تفعيل تسجيل الدخول عبر دوربال", "Accounts_OAuth_Drupal_callback_url": "دروبال oAuth2 إعادة توجيه عنوان أوري", "Accounts_OAuth_Drupal_id": "رمز تعريف العميل الخاص بدوربال oAuth2", diff --git a/packages/rocketchat-i18n/i18n/az.i18n.json b/packages/rocketchat-i18n/i18n/az.i18n.json index f48ee175ce6..a5c93d1b2a7 100644 --- a/packages/rocketchat-i18n/i18n/az.i18n.json +++ b/packages/rocketchat-i18n/i18n/az.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token yolu", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Via göndərdi", "Accounts_OAuth_Custom_Username_Field": "İstifadəçi adı", + "Accounts_OAuth_Custom_Roles_Claim": "Rollər / Qruplar sahəsinin adı", "Accounts_OAuth_Drupal": "Drupal Giriş Aktiv Edildi", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Müştəri ID", diff --git a/packages/rocketchat-i18n/i18n/be-BY.i18n.json b/packages/rocketchat-i18n/i18n/be-BY.i18n.json index b069fced32a..9487b500d84 100644 --- a/packages/rocketchat-i18n/i18n/be-BY.i18n.json +++ b/packages/rocketchat-i18n/i18n/be-BY.i18n.json @@ -87,6 +87,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Поле імя карыстальніка", + "Accounts_OAuth_Custom_Roles_Claim": "Ролі / імя групы поле", "Accounts_OAuth_Drupal": "Ўключыць уваход праз Drupal", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/bg.i18n.json b/packages/rocketchat-i18n/i18n/bg.i18n.json index 3edd360f4d9..7f99ef1a49a 100644 --- a/packages/rocketchat-i18n/i18n/bg.i18n.json +++ b/packages/rocketchat-i18n/i18n/bg.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Пътека за означения", "Accounts_OAuth_Custom_Token_Sent_Via": "Точен изпратен чрез", "Accounts_OAuth_Custom_Username_Field": "Потребителско поле", + "Accounts_OAuth_Custom_Roles_Claim": "Име на полето Роли / Групи", "Accounts_OAuth_Drupal": "Drupal Login Enabled", "Accounts_OAuth_Drupal_callback_url": "URI за пренасочване на Drupal oAuth2", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/bs.i18n.json b/packages/rocketchat-i18n/i18n/bs.i18n.json index f9cab989a15..cd11b560046 100644 --- a/packages/rocketchat-i18n/i18n/bs.i18n.json +++ b/packages/rocketchat-i18n/i18n/bs.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Putanja Tokena", "Accounts_OAuth_Custom_Token_Sent_Via": "Token poslan putem", "Accounts_OAuth_Custom_Username_Field": "Polje korisničkog imena", + "Accounts_OAuth_Custom_Roles_Claim": "Ime polja Vloge / Skupine", "Accounts_OAuth_Drupal": "Drupal Prijava omogućen", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 preusmjeravanje URI", "Accounts_OAuth_Drupal_id": "Drupal ID klijenta oAuth2", diff --git a/packages/rocketchat-i18n/i18n/ca.i18n.json b/packages/rocketchat-i18n/i18n/ca.i18n.json index 1b7852cc10a..b7727e6c6f5 100644 --- a/packages/rocketchat-i18n/i18n/ca.i18n.json +++ b/packages/rocketchat-i18n/i18n/ca.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Ruta del token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token enviat via", "Accounts_OAuth_Custom_Username_Field": "Camp de nom d'usuari", + "Accounts_OAuth_Custom_Roles_Claim": "Nom du champ Rôles/Groupes", "Accounts_OAuth_Drupal": "Activa inici de sessió de Drupal", "Accounts_OAuth_Drupal_callback_url": "Redirect URI de Drupal oAuth2", "Accounts_OAuth_Drupal_id": "Client ID de Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/cs.i18n.json b/packages/rocketchat-i18n/i18n/cs.i18n.json index 47617a61363..d079bcb43c2 100644 --- a/packages/rocketchat-i18n/i18n/cs.i18n.json +++ b/packages/rocketchat-i18n/i18n/cs.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Cesta k tokenu", "Accounts_OAuth_Custom_Token_Sent_Via": "Token odesílány přes", "Accounts_OAuth_Custom_Username_Field": "Pole uživatelské jméno", + "Accounts_OAuth_Custom_Roles_Claim": "Název pole Role / Skupiny", "Accounts_OAuth_Drupal": "Povolit Drupal přihlášení", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 URI Přesměrování", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 ID klienta", diff --git a/packages/rocketchat-i18n/i18n/cy.i18n.json b/packages/rocketchat-i18n/i18n/cy.i18n.json index ce98ef9802b..da0710587c9 100644 --- a/packages/rocketchat-i18n/i18n/cy.i18n.json +++ b/packages/rocketchat-i18n/i18n/cy.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Llwybr Tocynnau", "Accounts_OAuth_Custom_Token_Sent_Via": "Tocynnau a Dderbyniwyd Drwy", "Accounts_OAuth_Custom_Username_Field": "Maes enw defnyddiwr", + "Accounts_OAuth_Custom_Roles_Claim": "Enw maes Rolau / Grwpiau", "Accounts_OAuth_Drupal": "Galluogi Mewngofnodi Drupal", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Ailgyfeirio URI", "Accounts_OAuth_Drupal_id": "ID Cleient Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/da.i18n.json b/packages/rocketchat-i18n/i18n/da.i18n.json index 588e8993d19..5a4208b0abc 100644 --- a/packages/rocketchat-i18n/i18n/da.i18n.json +++ b/packages/rocketchat-i18n/i18n/da.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Tokensti", "Accounts_OAuth_Custom_Token_Sent_Via": "Token sendt via", "Accounts_OAuth_Custom_Username_Field": "Brugernavnefelt", + "Accounts_OAuth_Custom_Roles_Claim": "Roller / Grupper feltnavn", "Accounts_OAuth_Drupal": "Drupal-login aktiveret", "Accounts_OAuth_Drupal_callback_url": "Omdirigerings-uri for Drupals oAuth2", "Accounts_OAuth_Drupal_id": "Klient-id for Drupals oAuth2", diff --git a/packages/rocketchat-i18n/i18n/de-AT.i18n.json b/packages/rocketchat-i18n/i18n/de-AT.i18n.json index cae9a7452c4..0e8290ab64c 100644 --- a/packages/rocketchat-i18n/i18n/de-AT.i18n.json +++ b/packages/rocketchat-i18n/i18n/de-AT.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Pfad des Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token gesendet über", "Accounts_OAuth_Custom_Username_Field": "Benutzername Feld", + "Accounts_OAuth_Custom_Roles_Claim": "Rollen/Gruppen Feld", "Accounts_OAuth_Drupal": "Drupal Login aktiviert", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Weiterleitungs-URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/de-IN.i18n.json b/packages/rocketchat-i18n/i18n/de-IN.i18n.json index 3526b1a5aeb..bba0e96077c 100644 --- a/packages/rocketchat-i18n/i18n/de-IN.i18n.json +++ b/packages/rocketchat-i18n/i18n/de-IN.i18n.json @@ -87,6 +87,7 @@ "Accounts_OAuth_Custom_Token_Path": "Pfad des Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token gesendet über", "Accounts_OAuth_Custom_Username_Field": "Feld für Benutzernamen", + "Accounts_OAuth_Custom_Roles_Claim": "Rollen/Gruppen Feld", "Accounts_OAuth_Drupal_callback_url": "Drupal OAuth Redirect Url", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", "Accounts_OAuth_Drupal_secret": "Geheimer Drupal oAuth2 Client Schlüssel", diff --git a/packages/rocketchat-i18n/i18n/de.i18n.json b/packages/rocketchat-i18n/i18n/de.i18n.json index 9cb04d65f0b..cd08eb021c8 100644 --- a/packages/rocketchat-i18n/i18n/de.i18n.json +++ b/packages/rocketchat-i18n/i18n/de.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Pfad des Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token gesendet über", "Accounts_OAuth_Custom_Username_Field": "Feld für Benutzernamen", + "Accounts_OAuth_Custom_Roles_Claim": "Rollen/Gruppen Feld", "Accounts_OAuth_Drupal": "Anmeldung über Drupal", "Accounts_OAuth_Drupal_callback_url": "Drupal OAuth Redirect Url", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/el.i18n.json b/packages/rocketchat-i18n/i18n/el.i18n.json index 9107c556048..581faaf08e5 100644 --- a/packages/rocketchat-i18n/i18n/el.i18n.json +++ b/packages/rocketchat-i18n/i18n/el.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Διαδρομή Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token που Αποστέλλεται Μέσω", "Accounts_OAuth_Custom_Username_Field": "Πεδίο ονόματος χρήστη", + "Accounts_OAuth_Custom_Roles_Claim": "Ονόματα πεδίων / ομάδων", "Accounts_OAuth_Drupal": "Η Σύνδεση Drupal είναι Ενεργοποιημένη", "Accounts_OAuth_Drupal_callback_url": "URI Ανακατεύθυνσης Drupal oAuth2", "Accounts_OAuth_Drupal_id": "Αναγνωριστικό Πελάτη Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/en.i18n.json b/packages/rocketchat-i18n/i18n/en.i18n.json index aa58b3b9e3d..6813bf10cb3 100644 --- a/packages/rocketchat-i18n/i18n/en.i18n.json +++ b/packages/rocketchat-i18n/i18n/en.i18n.json @@ -93,6 +93,8 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Username field", + "Accounts_OAuth_Custom_Roles_Claim": "Roles/Groups field name", + "Accounts_OAuth_Custom_Merge_Roles": "Merge Roles from SSO", "Accounts_OAuth_Drupal": "Drupal Login Enabled", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/eo.i18n.json b/packages/rocketchat-i18n/i18n/eo.i18n.json index 6e87e1ba7aa..d2f969051aa 100644 --- a/packages/rocketchat-i18n/i18n/eo.i18n.json +++ b/packages/rocketchat-i18n/i18n/eo.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sendita Vojo", "Accounts_OAuth_Custom_Username_Field": "Uzulnomo kampo", + "Accounts_OAuth_Custom_Roles_Claim": "Rola / Grupaj kampa nomo", "Accounts_OAuth_Drupal": "Drupalo Salutnomo Enabled", "Accounts_OAuth_Drupal_callback_url": "Drupalo oAuth2 Alidirektila URI", "Accounts_OAuth_Drupal_id": "Drupalo oAuth2 Kliento-ID", diff --git a/packages/rocketchat-i18n/i18n/es.i18n.json b/packages/rocketchat-i18n/i18n/es.i18n.json index 2ed79cc943b..a3fc2d9cc9e 100644 --- a/packages/rocketchat-i18n/i18n/es.i18n.json +++ b/packages/rocketchat-i18n/i18n/es.i18n.json @@ -89,6 +89,7 @@ "Accounts_OAuth_Custom_Token_Path": "Ruta del Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token enviado vía", "Accounts_OAuth_Custom_Username_Field": "Campo de Nombre de Usuario", + "Accounts_OAuth_Custom_Roles_Claim": "Nombre del campo roles / grupos", "Accounts_OAuth_Drupal": "Inicio de sesión Drupal habilitado", "Accounts_OAuth_Drupal_callback_url": "URI de rediccionamiento de Drupal oAuth2", "Accounts_OAuth_Drupal_id": "ID del cliente de Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/fa.i18n.json b/packages/rocketchat-i18n/i18n/fa.i18n.json index 869cf652d07..19e7f45eb86 100644 --- a/packages/rocketchat-i18n/i18n/fa.i18n.json +++ b/packages/rocketchat-i18n/i18n/fa.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Merge_Users": "ادغام کاربران", "Accounts_OAuth_Custom_Scope": "محدوده", "Accounts_OAuth_Custom_Secret": "رمز", + "Accounts_OAuth_Custom_Roles_Claim": "نام زمینه / نام گروه", "Accounts_OAuth_Custom_Token_Path": "مسیر توکن", "Accounts_OAuth_Custom_Token_Sent_Via": "توکن فرستاده شد با", "Accounts_OAuth_Custom_Username_Field": "فیلد نام کاربری", diff --git a/packages/rocketchat-i18n/i18n/fi.i18n.json b/packages/rocketchat-i18n/i18n/fi.i18n.json index ae47ef3902a..86e7e16082c 100644 --- a/packages/rocketchat-i18n/i18n/fi.i18n.json +++ b/packages/rocketchat-i18n/i18n/fi.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token polku", "Accounts_OAuth_Custom_Token_Sent_Via": "Token lähetetty käyttäen", "Accounts_OAuth_Custom_Username_Field": "Käyttäjätunnus", + "Accounts_OAuth_Custom_Roles_Claim": "Roolien / ryhmien kentän nimi", "Accounts_OAuth_Drupal": "Drupal-kirjautuminen käytössä", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Uudelleenohjata URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2-asiakastunnus", diff --git a/packages/rocketchat-i18n/i18n/fr.i18n.json b/packages/rocketchat-i18n/i18n/fr.i18n.json index 8b5e0a64463..6e281666195 100644 --- a/packages/rocketchat-i18n/i18n/fr.i18n.json +++ b/packages/rocketchat-i18n/i18n/fr.i18n.json @@ -87,6 +87,7 @@ "Accounts_OAuth_Custom_Token_Path": "URL de jeton", "Accounts_OAuth_Custom_Token_Sent_Via": "Jeton envoyé via", "Accounts_OAuth_Custom_Username_Field": "Champ nom d'utilisateur", + "Accounts_OAuth_Custom_Roles_Claim": "Nom du champ Rôles/Groupes", "Accounts_OAuth_Drupal": "Connexion Drupal activée", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirection URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 ID client", diff --git a/packages/rocketchat-i18n/i18n/he.i18n.json b/packages/rocketchat-i18n/i18n/he.i18n.json index df8ef49ebdf..2d4a2615b4c 100644 --- a/packages/rocketchat-i18n/i18n/he.i18n.json +++ b/packages/rocketchat-i18n/i18n/he.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Meteor_secret": "סיסמת Meteor", "Accounts_OAuth_Twitter": "התחברות באמצעות טוויטר", "Accounts_OAuth_Twitter_callback_url": "כתובת האתר Callback Twitter", + "Accounts_OAuth_Custom_Roles_Claim": "שם שדה / קבוצות", "Accounts_OAuth_Twitter_id": "זיהוי טוויטר", "Accounts_OAuth_Twitter_secret": "סיסמת Twitter", "Accounts_OAuth_Wordpress": "התחברות WordPress", diff --git a/packages/rocketchat-i18n/i18n/hr.i18n.json b/packages/rocketchat-i18n/i18n/hr.i18n.json index 26ab0c8d5d4..9b0ca53473b 100644 --- a/packages/rocketchat-i18n/i18n/hr.i18n.json +++ b/packages/rocketchat-i18n/i18n/hr.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Putanja Tokena", "Accounts_OAuth_Custom_Token_Sent_Via": "Token poslan putem", "Accounts_OAuth_Custom_Username_Field": "Polje korisničkog imena", + "Accounts_OAuth_Custom_Roles_Claim": "Naziv polja uloge / grupe", "Accounts_OAuth_Drupal": "Drupal Prijava omogućen", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 preusmjeravanje URI", "Accounts_OAuth_Drupal_id": "Drupal ID klijenta oAuth2", @@ -2969,4 +2970,4 @@ "Your_push_was_sent_to_s_devices": "Push obavijest je poslana %s uređaje", "Your_server_link": "Veza poslužitelja", "Your_workspace_is_ready": "Radni je prostor spreman za upotrebu 🎉" -} \ No newline at end of file +} diff --git a/packages/rocketchat-i18n/i18n/hu.i18n.json b/packages/rocketchat-i18n/i18n/hu.i18n.json index 99c752df2b0..66583906ba7 100644 --- a/packages/rocketchat-i18n/i18n/hu.i18n.json +++ b/packages/rocketchat-i18n/i18n/hu.i18n.json @@ -89,6 +89,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token keresztül küldött", "Accounts_OAuth_Custom_Username_Field": "felhasználónév mező", + "Accounts_OAuth_Custom_Roles_Claim": "Szerepek / csoportok mező neve", "Accounts_OAuth_Drupal": "Drupal bejelentkezés engedélyezve", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 átirányító URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Ügyfél azonosító", @@ -2844,4 +2845,4 @@ "Your_push_was_sent_to_s_devices": "Push küldték %s eszközök", "Your_server_link": "A szerver linkje", "Your_workspace_is_ready": "A munkaterület készen áll a 🎉 használatára" -} \ No newline at end of file +} diff --git a/packages/rocketchat-i18n/i18n/id.i18n.json b/packages/rocketchat-i18n/i18n/id.i18n.json index 005966e2dd3..5b493d1c730 100644 --- a/packages/rocketchat-i18n/i18n/id.i18n.json +++ b/packages/rocketchat-i18n/i18n/id.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Dikirim Via", "Accounts_OAuth_Custom_Username_Field": "Bidang Username", + "Accounts_OAuth_Custom_Roles_Claim": "Nama bidang Peran / Grup", "Accounts_OAuth_Drupal": "Login Drupal Diaktifkan", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "ID Klien Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/it.i18n.json b/packages/rocketchat-i18n/i18n/it.i18n.json index f0efd3ddea1..e1fc67e2347 100644 --- a/packages/rocketchat-i18n/i18n/it.i18n.json +++ b/packages/rocketchat-i18n/i18n/it.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Percorso del token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token inviato tramite", "Accounts_OAuth_Custom_Username_Field": "Campo nome utente", + "Accounts_OAuth_Custom_Roles_Claim": "Nome del campo Ruoli / Gruppi", "Accounts_OAuth_Drupal": "Drupal Login abilitato", "Accounts_OAuth_Drupal_callback_url": "URI di re-indirizzamento oAuth2 Drupal ", "Accounts_OAuth_Drupal_id": "ID cliente oAuth2 Drupal", @@ -2838,4 +2839,4 @@ "Your_push_was_sent_to_s_devices": "La tua richiesta è stata inviata ai %s dispositivi.", "Your_server_link": "Il tuo collegamento al server", "Your_workspace_is_ready": "Il tuo spazio di lavoro è pronto per l'uso 🎉" -} \ No newline at end of file +} diff --git a/packages/rocketchat-i18n/i18n/ja.i18n.json b/packages/rocketchat-i18n/i18n/ja.i18n.json index af61cf2cf42..c8aeb74fe38 100644 --- a/packages/rocketchat-i18n/i18n/ja.i18n.json +++ b/packages/rocketchat-i18n/i18n/ja.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "トークンパス", "Accounts_OAuth_Custom_Token_Sent_Via": "トークン送信元", "Accounts_OAuth_Custom_Username_Field": "ユーザー名フィールド", + "Accounts_OAuth_Custom_Roles_Claim": "役割/グループフィールド名", "Accounts_OAuth_Drupal": "Drupalログインを有効にする", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2リダイレクトURI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2クライアントID", diff --git a/packages/rocketchat-i18n/i18n/km.i18n.json b/packages/rocketchat-i18n/i18n/km.i18n.json index 60c1182eac2..73a7dcaf9e3 100644 --- a/packages/rocketchat-i18n/i18n/km.i18n.json +++ b/packages/rocketchat-i18n/i18n/km.i18n.json @@ -90,6 +90,7 @@ "Accounts_OAuth_Custom_Token_Path": "ទីទាំង Token", "Accounts_OAuth_Custom_Token_Sent_Via": "សញ្ញាសម្ងាត់បានផ្ញើតាមរយៈ", "Accounts_OAuth_Custom_Username_Field": "វាលឈ្មោះអ្នកប្រើ", + "Accounts_OAuth_Custom_Roles_Claim": "ឈ្មោះវាល / ក្រុម", "Accounts_OAuth_Drupal": "Drupal Login Enabled", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 ប្ដូរទិស URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 លេខសម្គាល់អតិថិជន", diff --git a/packages/rocketchat-i18n/i18n/ko.i18n.json b/packages/rocketchat-i18n/i18n/ko.i18n.json index 014e30c0b38..ac62e7c160a 100644 --- a/packages/rocketchat-i18n/i18n/ko.i18n.json +++ b/packages/rocketchat-i18n/i18n/ko.i18n.json @@ -90,6 +90,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token 경로", "Accounts_OAuth_Custom_Token_Sent_Via": "보내진 토큰", "Accounts_OAuth_Custom_Username_Field": "사용자 이름 필드", + "Accounts_OAuth_Custom_Roles_Claim": "역할 / 그룹 필드 이름", "Accounts_OAuth_Drupal": "듀팔 로그인 이 활성화 되었습니다.", "Accounts_OAuth_Drupal_callback_url": "듀팔 oAuth2 리다이렉트 URI", "Accounts_OAuth_Drupal_id": "듀팔 oAuth2 클라이언트 ID", diff --git a/packages/rocketchat-i18n/i18n/ku.i18n.json b/packages/rocketchat-i18n/i18n/ku.i18n.json index 99bb42faeb7..58bcc0eb7ff 100644 --- a/packages/rocketchat-i18n/i18n/ku.i18n.json +++ b/packages/rocketchat-i18n/i18n/ku.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Path token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Qada bikarhêner", + "Accounts_OAuth_Custom_Roles_Claim": "Roles/Groups field name", "Accounts_OAuth_Drupal": "Têketina Drupal Enabled", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 URI Beralîkirin", "Accounts_OAuth_Drupal_id": "Nasnameya oleuth2 Drupal", diff --git a/packages/rocketchat-i18n/i18n/lo.i18n.json b/packages/rocketchat-i18n/i18n/lo.i18n.json index c39ebd0a5c3..ff08458dc1c 100644 --- a/packages/rocketchat-i18n/i18n/lo.i18n.json +++ b/packages/rocketchat-i18n/i18n/lo.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "ເສັ້ນທາງກ້າວສູ່ token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token ສົ່ງຜ່ານ", "Accounts_OAuth_Custom_Username_Field": "ຊື່ຜູ້ໃຊ້ພາກສະຫນາມ", + "Accounts_OAuth_Custom_Roles_Claim": "ຊື່ພາກສະຫນາມ / ກຸ່ມຊື່", "Accounts_OAuth_Drupal": "Drupal Login Enabled", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/lt.i18n.json b/packages/rocketchat-i18n/i18n/lt.i18n.json index 7f6eb24753f..2b992eeefcf 100644 --- a/packages/rocketchat-i18n/i18n/lt.i18n.json +++ b/packages/rocketchat-i18n/i18n/lt.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Tokeno kelias", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Vartotojo laukas", + "Accounts_OAuth_Custom_Roles_Claim": "Vaidų / grupių lauko pavadinimas", "Accounts_OAuth_Drupal": "Drupal prisijungimas įjungtas", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 nukreipimo URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 kliento ID", diff --git a/packages/rocketchat-i18n/i18n/lv.i18n.json b/packages/rocketchat-i18n/i18n/lv.i18n.json index b63b02193f4..fc4b055d31a 100644 --- a/packages/rocketchat-i18n/i18n/lv.i18n.json +++ b/packages/rocketchat-i18n/i18n/lv.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Žetona ceļš", "Accounts_OAuth_Custom_Token_Sent_Via": "Žetons nosūtīts caur", "Accounts_OAuth_Custom_Username_Field": "Lietotājvārda lauks", + "Accounts_OAuth_Custom_Roles_Claim": "Lomu / grupu lauka nosaukums", "Accounts_OAuth_Drupal": "Drupal pieteikšanās ir iespējota", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 klienta ID", diff --git a/packages/rocketchat-i18n/i18n/mn.i18n.json b/packages/rocketchat-i18n/i18n/mn.i18n.json index eb700a36237..d99bdffd4af 100644 --- a/packages/rocketchat-i18n/i18n/mn.i18n.json +++ b/packages/rocketchat-i18n/i18n/mn.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Via илгээсэн", "Accounts_OAuth_Custom_Username_Field": "Хэрэглэгчийн нэр", + "Accounts_OAuth_Custom_Roles_Claim": "Үүрэг / Бүлгүүдийн талбарын нэр", "Accounts_OAuth_Drupal": "Drupal Login Enabled", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Шууд бус URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/ms-MY.i18n.json b/packages/rocketchat-i18n/i18n/ms-MY.i18n.json index d020f345119..8f5d9ca2d1a 100644 --- a/packages/rocketchat-i18n/i18n/ms-MY.i18n.json +++ b/packages/rocketchat-i18n/i18n/ms-MY.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Dihantar Via", "Accounts_OAuth_Custom_Username_Field": "Medan pengguna", + "Accounts_OAuth_Custom_Roles_Claim": "Rolle / Groepe veldnaam", "Accounts_OAuth_Drupal": "Log masuk Drupal Diaktifkan", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "ID Pelanggan Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/nl.i18n.json b/packages/rocketchat-i18n/i18n/nl.i18n.json index d94e1d3ff2f..b80f8a653b1 100644 --- a/packages/rocketchat-i18n/i18n/nl.i18n.json +++ b/packages/rocketchat-i18n/i18n/nl.i18n.json @@ -90,6 +90,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token locatie", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Verstuurd Via", "Accounts_OAuth_Custom_Username_Field": "Gebruikersnaam veld", + "Accounts_OAuth_Custom_Roles_Claim": "Rol / Groepen veldnaam", "Accounts_OAuth_Drupal": "Drupal Login Ingeschakeld", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 URI omleiden", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client-ID", diff --git a/packages/rocketchat-i18n/i18n/no.i18n.json b/packages/rocketchat-i18n/i18n/no.i18n.json index 8aa18442281..3f9054ce8de 100644 --- a/packages/rocketchat-i18n/i18n/no.i18n.json +++ b/packages/rocketchat-i18n/i18n/no.i18n.json @@ -87,6 +87,7 @@ "Accounts_OAuth_Custom_Token_Path": "Tokenbane", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sendt Via", "Accounts_OAuth_Custom_Username_Field": "Brukernavn felt", + "Accounts_OAuth_Custom_Roles_Claim": "Roller / Grupper feltnavn", "Accounts_OAuth_Drupal": "Drupal Logg inn aktivert", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/pl.i18n.json b/packages/rocketchat-i18n/i18n/pl.i18n.json index 8d814fa21f1..2625d19a1cb 100644 --- a/packages/rocketchat-i18n/i18n/pl.i18n.json +++ b/packages/rocketchat-i18n/i18n/pl.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Ścieżka tokenu", "Accounts_OAuth_Custom_Token_Sent_Via": "Token wysyłany przez", "Accounts_OAuth_Custom_Username_Field": "Pole nazwa użytkownika", + "Accounts_OAuth_Custom_Roles_Claim": "Nazwa pola Role / Grupy", "Accounts_OAuth_Drupal": "Logowanie Drupal jest włączone", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Przekierowanie URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Identyfikator klienta", diff --git a/packages/rocketchat-i18n/i18n/pt-BR.i18n.json b/packages/rocketchat-i18n/i18n/pt-BR.i18n.json index a7f0aa2aae2..6f1dabc1500 100644 --- a/packages/rocketchat-i18n/i18n/pt-BR.i18n.json +++ b/packages/rocketchat-i18n/i18n/pt-BR.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Path do Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Enviado Por", "Accounts_OAuth_Custom_Username_Field": "Campo Nome de usuário", + "Accounts_OAuth_Custom_Roles_Claim": "Nome do campo de funções / grupos", "Accounts_OAuth_Drupal": "Login do Drupal habilitado", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Id. do cliente do Drupal oAuth2", @@ -3173,4 +3174,4 @@ "Your_question": "A sua pergunta", "Your_server_link": "O link do seu servidor", "Your_workspace_is_ready": "O seu espaço de trabalho está pronto a usar 🎉" -} \ No newline at end of file +} diff --git a/packages/rocketchat-i18n/i18n/pt.i18n.json b/packages/rocketchat-i18n/i18n/pt.i18n.json index 836f9e548cd..5d15ea7f53c 100644 --- a/packages/rocketchat-i18n/i18n/pt.i18n.json +++ b/packages/rocketchat-i18n/i18n/pt.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Caminho do Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Enviado Por", "Accounts_OAuth_Custom_Username_Field": "Campo de Utilizador", + "Accounts_OAuth_Custom_Roles_Claim": "Nome do campo de funções / grupos", "Accounts_OAuth_Drupal": "Login do Drupal habilitado", "Accounts_OAuth_Drupal_callback_url": "URI de redireccionamento do Drupal oAuth2", "Accounts_OAuth_Drupal_id": "Id. Do cliente do Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/ro.i18n.json b/packages/rocketchat-i18n/i18n/ro.i18n.json index e23357c5105..efa927d4034 100644 --- a/packages/rocketchat-i18n/i18n/ro.i18n.json +++ b/packages/rocketchat-i18n/i18n/ro.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Jeton Trimis Via", "Accounts_OAuth_Custom_Username_Field": "Numele câmpului", + "Accounts_OAuth_Custom_Roles_Claim": "Numele câmpului Roluri / Grupuri", "Accounts_OAuth_Drupal": "Conectare Drupal activată", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Codul clientului Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/ru.i18n.json b/packages/rocketchat-i18n/i18n/ru.i18n.json index c9b2dd96c59..63e36aa695f 100644 --- a/packages/rocketchat-i18n/i18n/ru.i18n.json +++ b/packages/rocketchat-i18n/i18n/ru.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Path", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Поле \"логин\"", + "Accounts_OAuth_Custom_Roles_Claim": "Имя поля Роли / Группы", "Accounts_OAuth_Drupal": "Включить вход через Drupal", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", @@ -3109,4 +3110,4 @@ "Your_question": "Ваш вопрос", "Your_server_link": "Ссылка на ваш сервер", "Your_workspace_is_ready": "Ваше рабочее пространство готово к работе 🎉" -} \ No newline at end of file +} diff --git a/packages/rocketchat-i18n/i18n/sk-SK.i18n.json b/packages/rocketchat-i18n/i18n/sk-SK.i18n.json index 0f53e13eca6..8b47a44fe0f 100644 --- a/packages/rocketchat-i18n/i18n/sk-SK.i18n.json +++ b/packages/rocketchat-i18n/i18n/sk-SK.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Cesta k Známke", "Accounts_OAuth_Custom_Token_Sent_Via": "Známka odoslaná cez", "Accounts_OAuth_Custom_Username_Field": "Pole používateľského mena", + "Accounts_OAuth_Custom_Roles_Claim": "Názov poľa Roly / Skupiny", "Accounts_OAuth_Drupal": "Prihlásenie k službe Drupal je povolené", "Accounts_OAuth_Drupal_callback_url": "Adresa URI presmerovania k službe Drupal oAuth2", "Accounts_OAuth_Drupal_id": "ID klienta služby Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/sl-SI.i18n.json b/packages/rocketchat-i18n/i18n/sl-SI.i18n.json index bfb66882f5b..f17573ea4fe 100644 --- a/packages/rocketchat-i18n/i18n/sl-SI.i18n.json +++ b/packages/rocketchat-i18n/i18n/sl-SI.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Pot do žetonov", "Accounts_OAuth_Custom_Token_Sent_Via": "Žeton poslan preko", "Accounts_OAuth_Custom_Username_Field": "Polje z uporabniškim imenom", + "Accounts_OAuth_Custom_Roles_Claim": "Naziv polja uloga / grupa", "Accounts_OAuth_Drupal": "Prijava v Drupal omogočena", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Preusmeritveni URI", "Accounts_OAuth_Drupal_id": "ID stranke Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/sq.i18n.json b/packages/rocketchat-i18n/i18n/sq.i18n.json index d2664f0accb..1cd90176bfd 100644 --- a/packages/rocketchat-i18n/i18n/sq.i18n.json +++ b/packages/rocketchat-i18n/i18n/sq.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "Path Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token Sent Via", "Accounts_OAuth_Custom_Username_Field": "Fusha e emrit", + "Accounts_OAuth_Custom_Roles_Claim": "Emri i fushës së roleve / grupeve", "Accounts_OAuth_Drupal": "Hyrja në Drupal e aktivizuar", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 ID klienti", diff --git a/packages/rocketchat-i18n/i18n/sr.i18n.json b/packages/rocketchat-i18n/i18n/sr.i18n.json index 9d5c37f2a4a..14b203b0cb5 100644 --- a/packages/rocketchat-i18n/i18n/sr.i18n.json +++ b/packages/rocketchat-i18n/i18n/sr.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "токен Пут", "Accounts_OAuth_Custom_Token_Sent_Via": "Токен послата преко", "Accounts_OAuth_Custom_Username_Field": "Поље корисничког имена", + "Accounts_OAuth_Custom_Roles_Claim": "Име поља улоге / групе", "Accounts_OAuth_Drupal": "Друпал Логин Енаблед", "Accounts_OAuth_Drupal_callback_url": "Друпал оАутх2 Редирецт УРИ", "Accounts_OAuth_Drupal_id": "Друпал оАутх2 Клијент ИД", diff --git a/packages/rocketchat-i18n/i18n/sv.i18n.json b/packages/rocketchat-i18n/i18n/sv.i18n.json index 2d70b627f9a..948b8802a7d 100644 --- a/packages/rocketchat-i18n/i18n/sv.i18n.json +++ b/packages/rocketchat-i18n/i18n/sv.i18n.json @@ -90,6 +90,7 @@ "Accounts_OAuth_Custom_Token_Path": "Sökväg Token", "Accounts_OAuth_Custom_Token_Sent_Via": "Token sänd via", "Accounts_OAuth_Custom_Username_Field": "Fält för användarnamn", + "Accounts_OAuth_Custom_Roles_Claim": "Roller / Grupper fältnamn", "Accounts_OAuth_Drupal": "Drupalinloggning aktiverad", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 redirect URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Client ID", diff --git a/packages/rocketchat-i18n/i18n/ta-IN.i18n.json b/packages/rocketchat-i18n/i18n/ta-IN.i18n.json index 4638467bd8a..ecc5e43ac35 100644 --- a/packages/rocketchat-i18n/i18n/ta-IN.i18n.json +++ b/packages/rocketchat-i18n/i18n/ta-IN.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "டோக்கன் பாதை", "Accounts_OAuth_Custom_Token_Sent_Via": "டோக்கன் அனுப்பப்பட்டது வழியாக", "Accounts_OAuth_Custom_Username_Field": "பயனாளர் புலம்", + "Accounts_OAuth_Custom_Roles_Claim": "பங்களிப்புகள் / குழுக்கள் புலம் பெயர்", "Accounts_OAuth_Drupal": "Drupal Login இயக்கப்பட்டது", "Accounts_OAuth_Drupal_callback_url": "Drupal OAuth2 URI ஐ திருப்பி விடுகிறது", "Accounts_OAuth_Drupal_id": "Drupal OAuth2 கிளையண்ட் ஐடி", diff --git a/packages/rocketchat-i18n/i18n/th-TH.i18n.json b/packages/rocketchat-i18n/i18n/th-TH.i18n.json index a0ac351a9e8..c5658ab2640 100644 --- a/packages/rocketchat-i18n/i18n/th-TH.i18n.json +++ b/packages/rocketchat-i18n/i18n/th-TH.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "เส้นทางโทเค็น", "Accounts_OAuth_Custom_Token_Sent_Via": "Token ส่งทาง", "Accounts_OAuth_Custom_Username_Field": "ฟิลด์ชื่อผู้ใช้", + "Accounts_OAuth_Custom_Roles_Claim": "ชื่อฟิลด์บทบาท / กลุ่ม", "Accounts_OAuth_Drupal": "เข้าสู่ระบบ Drupal Login แล้ว", "Accounts_OAuth_Drupal_callback_url": "เปลี่ยนเส้นทาง URI ของ Drupal oAuth2", "Accounts_OAuth_Drupal_id": "รหัสลูกค้า Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/tr.i18n.json b/packages/rocketchat-i18n/i18n/tr.i18n.json index cc8211f4c68..7988acf2c17 100644 --- a/packages/rocketchat-i18n/i18n/tr.i18n.json +++ b/packages/rocketchat-i18n/i18n/tr.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token Yolu", "Accounts_OAuth_Custom_Token_Sent_Via": "Token'ı Gönder", "Accounts_OAuth_Custom_Username_Field": "Kullanıcı adı alanı", + "Accounts_OAuth_Custom_Roles_Claim": "Roller / Gruplar alan adı", "Accounts_OAuth_Drupal": "Drupal ile giriş yapma aktifleştirildi", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Yönlendirme URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 Müşteri Kimliği", @@ -3174,4 +3175,4 @@ "Your_question": "Sorunuz", "Your_server_link": "Sunucu bağlantınız", "Your_workspace_is_ready": "Çalışma alanınız kullanılmaya hazır 🎉" -} \ No newline at end of file +} diff --git a/packages/rocketchat-i18n/i18n/uk.i18n.json b/packages/rocketchat-i18n/i18n/uk.i18n.json index 33a315ee79f..ecae043b62f 100644 --- a/packages/rocketchat-i18n/i18n/uk.i18n.json +++ b/packages/rocketchat-i18n/i18n/uk.i18n.json @@ -86,6 +86,7 @@ "Accounts_OAuth_Custom_Token_Path": "токен Шлях", "Accounts_OAuth_Custom_Token_Sent_Via": "Токен посланими через", "Accounts_OAuth_Custom_Username_Field": "Поле \"логін\"", + "Accounts_OAuth_Custom_Roles_Claim": "Үүрэг / Бүлгүүдийн талбарын нэр", "Accounts_OAuth_Drupal": "Дозволити вхід через Drupal", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 Redire URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 ідентифікатор клієнта", diff --git a/packages/rocketchat-i18n/i18n/vi-VN.i18n.json b/packages/rocketchat-i18n/i18n/vi-VN.i18n.json index 4fe8f9a683a..6df83369a9c 100644 --- a/packages/rocketchat-i18n/i18n/vi-VN.i18n.json +++ b/packages/rocketchat-i18n/i18n/vi-VN.i18n.json @@ -83,6 +83,7 @@ "Accounts_OAuth_Custom_Token_Path": "Đường dẫn lấy Token (Token Path)", "Accounts_OAuth_Custom_Token_Sent_Via": "Token được gửi qua", "Accounts_OAuth_Custom_Username_Field": "Trường username", + "Accounts_OAuth_Custom_Roles_Claim": "Tên trường vai trò / nhóm", "Accounts_OAuth_Drupal": "Cho phép đăng nhập qua Drupal", "Accounts_OAuth_Drupal_callback_url": "Dạng chuyển hướng URL của Drupal oAuth2", "Accounts_OAuth_Drupal_id": "ID máy khách Drupal oAuth2", diff --git a/packages/rocketchat-i18n/i18n/zh-HK.i18n.json b/packages/rocketchat-i18n/i18n/zh-HK.i18n.json index 5a9e0fc02fc..10014c8fcee 100644 --- a/packages/rocketchat-i18n/i18n/zh-HK.i18n.json +++ b/packages/rocketchat-i18n/i18n/zh-HK.i18n.json @@ -87,6 +87,7 @@ "Accounts_OAuth_Custom_Token_Path": "令牌路径", "Accounts_OAuth_Custom_Token_Sent_Via": "令牌通过", "Accounts_OAuth_Custom_Username_Field": "用户名字段", + "Accounts_OAuth_Custom_Roles_Claim": "角色/组字段名称", "Accounts_OAuth_Drupal": "启用Drupal登录", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2重定向URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2客户端ID", diff --git a/packages/rocketchat-i18n/i18n/zh-TW.i18n.json b/packages/rocketchat-i18n/i18n/zh-TW.i18n.json index 0d496a6b383..15c59ad006e 100644 --- a/packages/rocketchat-i18n/i18n/zh-TW.i18n.json +++ b/packages/rocketchat-i18n/i18n/zh-TW.i18n.json @@ -89,6 +89,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token 路徑", "Accounts_OAuth_Custom_Token_Sent_Via": "Token發送自", "Accounts_OAuth_Custom_Username_Field": "使用者名稱欄位", + "Accounts_OAuth_Custom_Roles_Claim": "角色/组字段名称", "Accounts_OAuth_Drupal": "啟用Drupal登錄", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2重定向URI", "Accounts_OAuth_Drupal_id": "Drupal oAuth2客戶端ID", diff --git a/packages/rocketchat-i18n/i18n/zh.i18n.json b/packages/rocketchat-i18n/i18n/zh.i18n.json index 6a950fd9970..eb564d22bf9 100644 --- a/packages/rocketchat-i18n/i18n/zh.i18n.json +++ b/packages/rocketchat-i18n/i18n/zh.i18n.json @@ -92,6 +92,7 @@ "Accounts_OAuth_Custom_Token_Path": "Token 路径", "Accounts_OAuth_Custom_Token_Sent_Via": "Token 发送自", "Accounts_OAuth_Custom_Username_Field": "用户名字段", + "Accounts_OAuth_Custom_Roles_Claim": "角色/组字段名称", "Accounts_OAuth_Drupal": "启用 Drupal 登录", "Accounts_OAuth_Drupal_callback_url": "Drupal oAuth2 重定向 URI 地址", "Accounts_OAuth_Drupal_id": "Drupal oAuth2 客户端 ID",