Enable modify user external_ids

This commit is contained in:
dklimpel
2021-08-19 10:39:57 +02:00
parent bf3d13916f
commit 730c412727
2 changed files with 13 additions and 8 deletions
+12 -7
View File
@@ -261,6 +261,12 @@ export const UserCreate = props => (
<TextInput source="address" />
</SimpleFormIterator>
</ArrayInput>
<ArrayInput source="external_ids" label="synapseadmin.users.tabs.sso">
<SimpleFormIterator>
<TextInput source="auth_provider" />
<TextInput source="external_id" label="resources.users.fields.id" />
</SimpleFormIterator>
</ArrayInput>
</SimpleForm>
</Create>
);
@@ -338,16 +344,15 @@ export const UserEdit = props => {
icon={<AssignmentIndIcon />}
path="sso"
>
<ArrayField source="external_ids" label={false}>
<Datagrid style={{ width: "100%" }}>
<TextField source="auth_provider" sortable={false} />
<TextField
<ArrayInput source="external_ids" label={false}>
<SimpleFormIterator>
<TextInput source="auth_provider" />
<TextInput
source="external_id"
label="resources.users.fields.id"
sortable={false}
/>
</Datagrid>
</ArrayField>
</SimpleFormIterator>
</ArrayInput>
</FormTab>
<FormTab