Merge pull request #101 from matrix-org/spec-182-asapi-user-creation
SPEC-182: Make it clearer how ASes are supposed to create users
This commit is contained in:
commit
6546068c63
2 changed files with 8 additions and 2 deletions
|
@ -99,7 +99,7 @@ API called when:
|
||||||
- HS receives an event for an unknown user ID in the AS's namespace, e.g. an
|
- HS receives an event for an unknown user ID in the AS's namespace, e.g. an
|
||||||
invite event to a room.
|
invite event to a room.
|
||||||
Notes:
|
Notes:
|
||||||
- When the AS receives this request, if the user exists, it must create the user via
|
- When the AS receives this request, if the user exists, it must `create the user`_ via
|
||||||
the CS API.
|
the CS API.
|
||||||
- It can also set arbitrary information about the user (e.g. display name, join rooms, etc)
|
- It can also set arbitrary information about the user (e.g. display name, join rooms, etc)
|
||||||
using the CS API.
|
using the CS API.
|
||||||
|
@ -231,6 +231,9 @@ Ordering notes:
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.. _create the user: `sect:asapi-permissions`_
|
||||||
|
|
||||||
Client-Server v2 API Extensions
|
Client-Server v2 API Extensions
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -287,6 +290,9 @@ Notes:
|
||||||
|
|
||||||
Server admin style permissions
|
Server admin style permissions
|
||||||
++++++++++++++++++++++++++++++
|
++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
.. _sect:asapi-permissions:
|
||||||
|
|
||||||
The home server needs to give the application service *full control* over its
|
The home server needs to give the application service *full control* over its
|
||||||
namespace, both for users and for room aliases. This means that the AS should
|
namespace, both for users and for room aliases. This means that the AS should
|
||||||
be able to create/edit/delete any room alias in its namespace, as well as
|
be able to create/edit/delete any room alias in its namespace, as well as
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
Feature Profiles
|
Feature Profiles
|
||||||
================
|
================
|
||||||
|
|
||||||
.. sect:feature-profiles:
|
.. _sect:feature-profiles:
|
||||||
|
|
||||||
Matrix supports many different kinds of clients: from embedded IoT devices to
|
Matrix supports many different kinds of clients: from embedded IoT devices to
|
||||||
desktop clients. Not all clients can provide the same feature sets as other
|
desktop clients. Not all clients can provide the same feature sets as other
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue