mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2025-12-21 13:01:53 +00:00
Add locked status to users (#413)
This commit is contained in:
parent
fac09cb9bb
commit
b5ca951b32
7 changed files with 8 additions and 1 deletions
|
|
@ -119,6 +119,7 @@ export const UserList = (props: ListProps) => (
|
|||
<BooleanField source="is_guest" />
|
||||
<BooleanField source="admin" />
|
||||
<BooleanField source="deactivated" />
|
||||
<BooleanField source="locked" />
|
||||
<BooleanField source="erased" sortable={false} />
|
||||
<DateField source="creation_ts" label="resources.users.fields.creation_ts_ms" showTime options={DATE_FORMAT} />
|
||||
</Datagrid>
|
||||
|
|
@ -200,6 +201,7 @@ export const UserEdit = (props: EditProps) => {
|
|||
<PasswordInput source="password" autoComplete="new-password" helperText="resources.users.helper.password" />
|
||||
<SelectInput source="user_type" choices={choices_type} translateChoice={false} resettable />
|
||||
<BooleanInput source="admin" />
|
||||
<BooleanInput source="locked" />
|
||||
<BooleanInput source="deactivated" helperText="resources.users.helper.deactivate" />
|
||||
<BooleanInput source="erased" disabled />
|
||||
<DateField source="creation_ts_ms" showTime options={DATE_FORMAT} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue