Adapt rest api to field permissions (#13314)
Closes https://github.com/twentyhq/core-team-issues/issues/1217 We should only query and return the fields that are readable when using the rest api. This is behind a feature flag.
This commit is contained in:
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3574,6 +3574,11 @@ msgstr "john.doe"
|
||||
msgid "john.doe@example.com"
|
||||
msgstr "john.doe@example.com"
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr "Join {workspaceName} team"
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3571,6 +3571,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
Binary file not shown.
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -3579,6 +3579,11 @@ msgstr ""
|
||||
msgid "john.doe@example.com"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: fSPjtl
|
||||
#: src/pages/auth/SignInUp.tsx
|
||||
msgid "Join {workspaceName} team"
|
||||
msgstr ""
|
||||
|
||||
#. js-lingui-id: VIK/N0
|
||||
#: src/modules/workflow/workflow-trigger/components/WorkflowEditTriggerWebhookForm.tsx
|
||||
#~ msgid "JSON keys cannot contain spaces"
|
||||
|
||||
@ -83,7 +83,8 @@ export const SignInUp = () => {
|
||||
|
||||
const title = useMemo(() => {
|
||||
if (isDefined(workspaceInviteHash)) {
|
||||
return `Join ${workspaceFromInviteHash?.displayName ?? ''} team`;
|
||||
const workspaceName = workspaceFromInviteHash?.displayName ?? '';
|
||||
return t`Join ${workspaceName} team`;
|
||||
}
|
||||
|
||||
if (signInUpStep === SignInUpStep.WorkspaceSelection) {
|
||||
|
||||
Reference in New Issue
Block a user