-
-
Notifications
You must be signed in to change notification settings - Fork 128
Spec User suspension & locking endpoints #2278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
As per MSC4323. Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
anoadragon453
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, thanks for doing this!
Just some small things below, along with a clarification question.
| @@ -0,0 +1 @@ | |||
| Add endpoints to lock and suspend server-local users for administrations and add the `m.account_management` capability, as per [MSC4323](https://github.com/matrix-org/matrix-spec-proposals/pull/4323). | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Add endpoints to lock and suspend server-local users for administrations and add the `m.account_management` capability, as per [MSC4323](https://github.com/matrix-org/matrix-spec-proposals/pull/4323). | |
| Add administrator endpoints to lock and suspend server-local users and add the `m.account_management` capability, as per [MSC4323](https://github.com/matrix-org/matrix-spec-proposals/pull/4323). |
| for locking and unlocking accounts as a server implementation detail. | ||
| that can be reversed. | ||
|
|
||
| {{% added-in v="1.18" %}} To lock or unlock an account, the administrators |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {{% added-in v="1.18" %}} To lock or unlock an account, the administrators | |
| {{% added-in v="1.18" %}} To lock or unlock an account, administrators |
| without risk of the client losing state from a logout. Suspensions are reversible, | ||
| like locks and unlike deactivations. | ||
|
|
||
| {{% added-in v="1.18" %}} To suspend or unsuspend an account, the administrators |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {{% added-in v="1.18" %}} To suspend or unsuspend an account, the administrators | |
| {{% added-in v="1.18" %}} To suspend or unsuspend an account, administrators |
| The requesting user is not a server administrator, or the target user is another | ||
| administrator. The errcode is `M_FORBIDDEN`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per MSC4323.
Pull Request Checklist
Preview: https://pr2278--matrix-spec-previews.netlify.app