Skip to content

Commit c624cac

Browse files
committed
Update permission key according to FAPI changes
1 parent 3dda9d7 commit c624cac

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/localizations/src/en-GB.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export const enGB: LocalizationResource = {
199199
},
200200
verifyEmailDomainStep: {
201201
title: 'Verify email address',
202-
subtitle: 'Verify the email address you want to enable the enterprise connection on.',
202+
subtitle: 'Verify the domain you want to enable the enterprise connection on.',
203203
addEmailAddress: {
204204
formTitle: 'We need your email',
205205
formSubtitle: 'In order to start we will need your email address',

packages/localizations/src/en-US.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export const enUS: LocalizationResource = {
248248
},
249249
verifyEmailDomainStep: {
250250
title: 'Verify email address',
251-
subtitle: 'Verify the email address you want to enable the enterprise connection on.',
251+
subtitle: 'Verify the domain you want to enable the enterprise connection on.',
252252
addEmailAddress: {
253253
formTitle: 'We need your email',
254254
formSubtitle: 'In order to start we will need your email address',

packages/ui/src/components/ConfigureSSO/ConfigureSSO.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const ConfigureSSOCardProtect = ({ children }: { children: React.ReactNode }) =>
146146
const { session } = useSession();
147147
const isPersonalWorkspace = !session?.lastActiveOrganizationId;
148148
const canManageEnterpriseConnections = useProtect(
149-
has => isPersonalWorkspace || has({ permission: 'org:sys_enterprise_connections:manage' }),
149+
has => isPersonalWorkspace || has({ permission: 'org:sys_entconns:manage' }),
150150
);
151151

152152
if (!canManageEnterpriseConnections) {

packages/ui/src/components/ConfigureSSO/__tests__/ConfigureSSO.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('ConfigureSSO', () => {
3636
f.withOrganizations();
3737
f.withUser({
3838
email_addresses: ['test@clerk.com'],
39-
organization_memberships: [{ name: 'Org1', permissions: ['org:sys_enterprise_connections:manage'] }],
39+
organization_memberships: [{ name: 'Org1', permissions: ['org:sys_entconns:manage'] }],
4040
});
4141
});
4242

0 commit comments

Comments
 (0)