Add erasure status to users
This commit is contained in:
parent
67066a1ba7
commit
433ad8d1d7
@ -9,7 +9,7 @@ This project is built using [react-admin](https://marmelab.com/react-admin/).
|
||||
|
||||
### Supported Synapse
|
||||
|
||||
It needs at least [Synapse](https://github.com/matrix-org/synapse) v1.42.0 for all functions to work as expected!
|
||||
It needs at least [Synapse](https://github.com/matrix-org/synapse) v1.71.0 for all functions to work as expected!
|
||||
|
||||
You get your server version with the request `/_synapse/admin/v1/server_version`.
|
||||
See also [Synapse version API](https://matrix-org.github.io/synapse/develop/admin_api/version_api.html).
|
||||
|
@ -185,6 +185,7 @@ export const UserList = props => {
|
||||
<BooleanField source="is_guest" />
|
||||
<BooleanField source="admin" />
|
||||
<BooleanField source="deactivated" />
|
||||
<BooleanField source="erased" sortable={false} />
|
||||
<DateField
|
||||
source="creation_ts"
|
||||
label="resources.users.fields.creation_ts_ms"
|
||||
@ -338,6 +339,7 @@ export const UserEdit = props => {
|
||||
source="deactivated"
|
||||
helperText="resources.users.helper.deactivate"
|
||||
/>
|
||||
<BooleanInput source="erased" disabled />
|
||||
<DateField source="creation_ts_ms" showTime options={date_format} />
|
||||
<TextField source="consent_version" />
|
||||
</FormTab>
|
||||
|
@ -108,6 +108,7 @@ const de = {
|
||||
is_guest: "Gast",
|
||||
admin: "Server Administrator",
|
||||
deactivated: "Deaktiviert",
|
||||
erased: "Gelöscht",
|
||||
guests: "Zeige Gäste",
|
||||
show_deactivated: "Zeige deaktivierte Benutzer",
|
||||
user_id: "Suche Benutzer",
|
||||
|
@ -107,6 +107,7 @@ const en = {
|
||||
is_guest: "Guest",
|
||||
admin: "Server Administrator",
|
||||
deactivated: "Deactivated",
|
||||
erased: "Erased",
|
||||
guests: "Show guests",
|
||||
show_deactivated: "Show deactivated users",
|
||||
user_id: "Search user",
|
||||
|
Loading…
Reference in New Issue
Block a user