@@ -4,9 +4,8 @@ The [default policy](../topics/policy.md#authorization-requests) shipped with MA
4
4
5
5
- [ ` openid ` ] ( #openid )
6
6
- [ ` email ` ] ( #email )
7
- - [ ` urn:matrix:org.matrix.msc2967.client:api:* ` ] ( #urnmatrixorgmatrixmsc2967clientapi )
8
- - [ ` urn:matrix:org.matrix.msc2967.client:device:[device id] ` ] ( #urnmatrixorgmatrixmsc2967clientdevicedevice-id )
9
- - [ ` urn:matrix:org.matrix.msc2967.client:guest ` ] ( #urnmatrixorgmatrixmsc2967clientguest )
7
+ - [ ` urn:matrix:client:api:* ` ] ( #urnmatrixclientapi )
8
+ - [ ` urn:matrix:client:device:[device id] ` ] ( #urnmatrixclientdevicedevice-id )
10
9
- [ ` urn:synapse:admin:* ` ] ( #urnsynapseadmin )
11
10
- [ ` urn:mas:admin ` ] ( #urnmasadmin )
12
11
- [ ` urn:mas:graphql:* ` ] ( #urnmasgraphql )
@@ -33,13 +32,13 @@ The default policy allows any client and any user to request this scope.
33
32
34
33
Those scopes are specific to the Matrix protocol and are part of [ MSC2967] .
35
34
36
- ### ` urn:matrix:org.matrix.msc2967. client:api:* `
35
+ ### ` urn:matrix:client:api:* `
37
36
38
37
This scope grants access to the full Matrix client-server API.
39
38
40
39
The default policy allows any client and any user to request this scope.
41
40
42
- ### ` urn:matrix:org.matrix.msc2967. client:device:[device id] `
41
+ ### ` urn:matrix:client:device:[device id] `
43
42
44
43
This scope sets the device ID of the session, where ` [device id] ` is the device ID of the session.
45
44
Currently, MAS only allows the following characters in the device ID: ` a-z ` , ` A-Z ` , ` 0-9 ` and ` - ` .
@@ -49,15 +48,6 @@ There can only be one device ID in the scope list of a session.
49
48
50
49
The default policy allows any client and any user to request this scope.
51
50
52
- ### ` urn:matrix:org.matrix.msc2967.client:guest `
53
-
54
- This scope grants access to a restricted set of endpoints that are available to guest users.
55
- It is mutually exclusive with the ` urn:matrix:org.matrix.msc2967.client:api:* ` scope.
56
-
57
- Note that MAS doesn't yet implement any special semantic around guest users, but this scope is reserved for future use.
58
-
59
- The default policy allows any client and any user to request this scope.
60
-
61
51
## Synapse-specific scopes
62
52
63
53
MAS also supports one Synapse-specific scope, which aren't formally defined in any specification.
@@ -67,7 +57,7 @@ MAS also supports one Synapse-specific scope, which aren't formally defined in a
67
57
This scope grants access to the [ Synapse admin API] .
68
58
69
59
Because of how Synapse works for now, this scope by itself isn't sufficient to access the admin API.
70
- A session wanting to access the admin API also needs to have the ` urn:matrix:org.matrix.msc2967. client:api:* ` scope.
60
+ A session wanting to access the admin API also needs to have the ` urn:matrix:client:api:* ` scope.
71
61
72
62
The default policy doesn't allow everyone to request this scope.
73
63
It allows:
0 commit comments