You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
MAS also has a few scopes that are specific to the MAS implementation.
81
81
82
-
### `urn:mas:graphql:*`
83
-
84
-
This scope grants access to the whole MAS [Internal GraphQL API].
85
-
What permission the session has on the API is determined by the entity that the session is authorized as.
86
-
When [authorized as a user](../topics/authorization.md#authorized-as-a-user-or-authorized-as-a-client) (and without the `mas:urn:admin` scope), this will usually allow querying and mutating the user's own data.
87
-
88
-
The default policy allows any client and any user to request this scope.
89
-
90
-
However, as noted in the [Internal GraphQL API] documentation, access to the Internal GraphQL API from outside of MAS itself is deprecated in favour of the [Admin API].
91
-
92
82
### `urn:mas:admin`
93
83
94
84
This scope grants full access to the MAS [Admin API].
@@ -102,6 +92,16 @@ It allows:
102
92
- for the "client credentials" grant:
103
93
- clients that are listed in the [`policy.data.admin_clients`](../reference/configuration.md#policy) configuration option
104
94
95
+
### `urn:mas:graphql:*`
96
+
97
+
This scope grants access to the whole MAS [Internal GraphQL API].
98
+
What permission the session has on the API is determined by the entity that the session is authorized as.
99
+
When [authorized as a user](../topics/authorization.md#authorized-as-a-user-or-authorized-as-a-client) (and without the `mas:urn:admin` scope), this will usually allow querying and mutating the user's own data.
100
+
101
+
The default policy allows any client and any user to request this scope.
102
+
103
+
However, as noted in the [Internal GraphQL API] documentation, access to the Internal GraphQL API from outside of MAS itself is deprecated in favour of the [Admin API].
0 commit comments