MSC number

babolivier/m_locked
Brendan Abolivier 2 years ago
parent 36ed829045
commit 79472a2cc3
No known key found for this signature in database
GPG Key ID: CB2B33F7C23D44C6

@ -1,4 +1,4 @@
# MSCXXXX: Account locking
# MSC3939: Account locking
There are legitimate cases where server administrators might want the ability to
temporarily lock users out of their account. For example, server administrators
@ -12,11 +12,6 @@ this is a pretty destructive operation. Ideally, a locked account could be
unlocked without any visible impact on the account itself (joined rooms,
associated 3PIDs, etc).
Note that
[MSC3823](https://github.com/matrix-org/matrix-spec-proposals/pull/3823)
addresses a similar concept coming from a moderation perspective. However,
locking and suspending an account are semantically different.
## Proposal
A new `M_USER_LOCKED` is introduced, which is communicated to clients in `403 Forbidden` HTTP responses.
@ -52,4 +47,4 @@ two distincts error codes.
## Unstable prefix
Until this proposal is accepted, implementations must use
`ORG_MATRIX_MSCXXXX_USER_LOCKED` instead of `M_USER_LOCKED`.
`ORG_MATRIX_MSC3939_USER_LOCKED` instead of `M_USER_LOCKED`.
Loading…
Cancel
Save