diff --git a/.changeset/cool-sheep-arrive.md b/.changeset/cool-sheep-arrive.md new file mode 100644 index 00000000000..69d65e087a5 --- /dev/null +++ b/.changeset/cool-sheep-arrive.md @@ -0,0 +1,9 @@ +--- +"@wso2is/console": patch +"@wso2is/i18n": patch +"@wso2is/myaccount": patch +"@wso2is/common": patch +"@wso2is/core": patch +--- + +Rename `Tenant Permissions` -> `Root Organization Permissions` diff --git a/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.scss b/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.scss index dbd5d038c7e..1519f274216 100644 --- a/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.scss +++ b/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.scss @@ -6,7 +6,7 @@ margin: 10px 0; .permissions-accordion-label { - width: 33%; + width: 40%; flex-shrink: 0; } diff --git a/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.tsx b/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.tsx index fd4dcce437d..cc5a84188c6 100644 --- a/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.tsx +++ b/apps/console/src/features/console-settings/components/console-roles/create-console-role-wizard/create-console-role-wizard-permissions-form.tsx @@ -333,7 +333,9 @@ const CreateConsoleRoleWizardPermissionsForm: FunctionComponent - Tenant Permissions + + { t("console:consoleSettings.roles.add.tenantPermissions.label") } + { filteredTenantAPIResourceCollections?.apiResourceCollections?.length } Permissions @@ -435,7 +437,9 @@ const CreateConsoleRoleWizardPermissionsForm: FunctionComponent - Organization Permissions + + { t("console:consoleSettings.roles.add.organizationPermissions.label") } + { filteredOrganizationAPIResourceCollections?.apiResourceCollections?.length } Permissions diff --git a/modules/i18n/src/models/namespaces/console-ns.ts b/modules/i18n/src/models/namespaces/console-ns.ts index 67e142bd41e..f5c920ac4ba 100644 --- a/modules/i18n/src/models/namespaces/console-ns.ts +++ b/modules/i18n/src/models/namespaces/console-ns.ts @@ -538,6 +538,14 @@ export interface ConsoleNS { tabLabel: string; }; roles: { + add: { + organizationPermissions: { + label: string; + }; + tenantPermissions: { + label: string; + }; + }; tabLabel: string; permissionLevels: { edit: string; diff --git a/modules/i18n/src/translations/en-US/portals/console.ts b/modules/i18n/src/translations/en-US/portals/console.ts index b9953ae8dd2..8fdf48f5d4b 100644 --- a/modules/i18n/src/translations/en-US/portals/console.ts +++ b/modules/i18n/src/translations/en-US/portals/console.ts @@ -722,6 +722,14 @@ export const console: ConsoleNS = { tabLabel: "Protocol" }, roles: { + add: { + organizationPermissions: { + label: "Organization Permissions" + }, + tenantPermissions: { + label: "Root Organization Permissions" + } + }, tabLabel: "Roles", permissionLevels: { edit: "Edit", diff --git a/modules/i18n/src/translations/fr-FR/portals/console.ts b/modules/i18n/src/translations/fr-FR/portals/console.ts index a834c7dd3d1..0a3ce70ee02 100755 --- a/modules/i18n/src/translations/fr-FR/portals/console.ts +++ b/modules/i18n/src/translations/fr-FR/portals/console.ts @@ -720,6 +720,14 @@ export const console: ConsoleNS = { tabLabel: "Protocole" }, roles: { + add: { + organizationPermissions: { + label: "Autorisation d'organisation" + }, + tenantPermissions: { + label: "Autorisation d'organisation racinaire" + } + }, tabLabel: "Les rôles", permissionLevels: { edit: "Modifier", diff --git a/modules/i18n/src/translations/si-LK/portals/console.ts b/modules/i18n/src/translations/si-LK/portals/console.ts index 768f5da9392..99b6a1f6a77 100755 --- a/modules/i18n/src/translations/si-LK/portals/console.ts +++ b/modules/i18n/src/translations/si-LK/portals/console.ts @@ -728,6 +728,14 @@ export const console: ConsoleNS = { tabLabel: "ප්රොටෝකෝලය" }, roles: { + add: { + organizationPermissions: { + label: "සංවිධාන අවසරයි" + }, + tenantPermissions: { + label: "මූල සංවිධාන අවසර" + } + }, tabLabel: "භූමිකාවන්", permissionLevels: { edit: "සංස්කරණය කරන්න",