Skip to content

Commit

Permalink
Merge pull request #5289 from brionmario/rc1-bug-fixing-19033
Browse files Browse the repository at this point in the history
Rename `Tenant Permissions` -> `Root Organization Permissions`
  • Loading branch information
brionmario authored Jan 21, 2024
2 parents 9401438 + fa54b89 commit 3836587
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .changeset/cool-sheep-arrive.md
Original file line number Diff line number Diff line change
@@ -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`
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
margin: 10px 0;

.permissions-accordion-label {
width: 33%;
width: 40%;
flex-shrink: 0;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ const CreateConsoleRoleWizardPermissionsForm: FunctionComponent<CreateConsoleRol
"aria-label": "Select all tenant permissions"
} }
/>
<Typography className="permissions-accordion-label">Tenant Permissions</Typography>
<Typography className="permissions-accordion-label">
{ t("console:consoleSettings.roles.add.tenantPermissions.label") }
</Typography>
<Typography variant="body2">
{ filteredTenantAPIResourceCollections?.apiResourceCollections?.length } Permissions
</Typography>
Expand Down Expand Up @@ -435,7 +437,9 @@ const CreateConsoleRoleWizardPermissionsForm: FunctionComponent<CreateConsoleRol
"aria-label": "Select all organization permissions"
} }
/>
<Typography className="permissions-accordion-label">Organization Permissions</Typography>
<Typography className="permissions-accordion-label">
{ t("console:consoleSettings.roles.add.organizationPermissions.label") }
</Typography>
<Typography variant="body2">
{ filteredOrganizationAPIResourceCollections?.apiResourceCollections?.length } Permissions
</Typography>
Expand Down
8 changes: 8 additions & 0 deletions modules/i18n/src/models/namespaces/console-ns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,14 @@ export interface ConsoleNS {
tabLabel: string;
};
roles: {
add: {
organizationPermissions: {
label: string;
};
tenantPermissions: {
label: string;
};
};
tabLabel: string;
permissionLevels: {
edit: string;
Expand Down
8 changes: 8 additions & 0 deletions modules/i18n/src/translations/en-US/portals/console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions modules/i18n/src/translations/fr-FR/portals/console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions modules/i18n/src/translations/si-LK/portals/console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,14 @@ export const console: ConsoleNS = {
tabLabel: "ප්රොටෝකෝලය"
},
roles: {
add: {
organizationPermissions: {
label: "සංවිධාන අවසරයි"
},
tenantPermissions: {
label: "මූල සංවිධාන අවසර"
}
},
tabLabel: "භූමිකාවන්",
permissionLevels: {
edit: "සංස්කරණය කරන්න",
Expand Down

0 comments on commit 3836587

Please sign in to comment.