Bläddra i källkod

update instructions for user admin management with MAS

This is now supported via the mas-cli management tool
pull/4832/head
Mark Monteiro 2 månader sedan
committed by Slavi Pantaleev
förälder
incheckning
e60ef27bb8
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      docs/registering-users.md

+ 2
- 2
docs/registering-users.md Visa fil

@@ -161,6 +161,6 @@ You can then proceed to run the query above.

### Adding/Removing Administrator privileges to an existing user in Matrix Authentication Service

Promoting/demoting a user in Matrix Authentication Service cannot currently (2024-10-19) be done via the [`mas-cli` Management tool](./configuring-playbook-matrix-authentication-service.md#management).
Promoting/demoting a user in Matrix Authentication Service can be done using the [`mas-cli`](./configuring-playbook-matrix-authentication-service.md#management) management tool's [`manage promote-admin`](https://element-hq.github.io/matrix-authentication-service/reference/cli/manage.html#manage-promote-admin) and [`manage demote-admin`](https://element-hq.github.io/matrix-authentication-service/reference/cli/manage.html#manage-demote-admin) commands. For example: `/matrix/matrix-authentication-service/bin/mas-cli manage promote-admin some.username`.

You can do it via the [MAS Admin API](https://element-hq.github.io/matrix-authentication-service/api/index.html)'s `POST /api/admin/v1/users/{id}/set-admin` endpoint.
You can also do it via the [MAS Admin API](https://element-hq.github.io/matrix-authentication-service/api/index.html)'s `POST /api/admin/v1/users/{id}/set-admin` endpoint.

Laddar…
Avbryt
Spara