Add locked status

This commit is contained in:
dklimpel 2023-10-13 21:20:14 +02:00
parent 50af6499b0
commit 2a478b35b7
6 changed files with 7 additions and 1 deletions

View File

@ -13,7 +13,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.52.0 for all functions to work as expected!
It needs at least [Synapse](https://github.com/matrix-org/synapse) v1.93.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).

View File

@ -196,6 +196,7 @@ export const UserList = props => {
<BooleanField source="is_guest" />
<BooleanField source="admin" />
<BooleanField source="deactivated" />
<BooleanField source="locked" />
<DateField
source="creation_ts"
label="resources.users.fields.creation_ts_ms"
@ -373,6 +374,7 @@ export const UserEdit = props => {
resettable
/>
<BooleanInput source="admin" />
<BooleanInput source="locked" />
<BooleanInput
source="deactivated"
helperText="resources.users.helper.deactivate"

View File

@ -107,6 +107,7 @@ const de = {
name: "Name",
is_guest: "Gast",
admin: "Server Administrator",
locked: "Gesperrt",
deactivated: "Deaktiviert",
guests: "Zeige Gäste",
show_deactivated: "Zeige deaktivierte Benutzer",

View File

@ -106,6 +106,7 @@ const en = {
name: "Name",
is_guest: "Guest",
admin: "Server Administrator",
locked: "Locked",
deactivated: "Deactivated",
guests: "Show guests",
show_deactivated: "Show deactivated users",

View File

@ -110,6 +110,7 @@ const fr = {
name: "Nom",
is_guest: "Visiteur",
admin: "Administrateur du serveur",
locked: "Verrouillé",
deactivated: "Désactivé",
guests: "Afficher les visiteurs",
show_deactivated: "Afficher les utilisateurs désactivés",

View File

@ -108,6 +108,7 @@ const it = {
name: "Nome",
is_guest: "Ospite",
admin: "Amministratore",
locked: "Bloccato",
deactivated: "Disattivato",
guests: "Mostra gli ospiti",
show_deactivated: "Mostra gli utenti disattivati",