app.didpic.admin.listRoles
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.didpic.admin.listRoles",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"type": "object",
9
9
"required": [
10
10
"roles"
11
11
],
12
12
"properties": {
13
13
"roles": {
14
14
"type": "array",
15
15
"items": {
16
16
"type": "object",
17
17
"required": [
18
18
"did",
19
19
"role",
20
20
"grantedAt"
21
21
],
22
22
"properties": {
23
23
"did": {
24
24
"type": "string",
25
25
"format": "did"
26
26
},
27
27
"role": {
28
28
"enum": [
29
29
"moderator",
30
30
"administrator"
31
31
],
32
32
"type": "string"
33
33
},
34
34
"grantedAt": {
35
35
"type": "string",
36
36
"format": "datetime"
37
37
},
38
38
"grantedBy": {
39
39
"type": "string",
40
40
"format": "did"
41
41
}
42
42
}
43
43
}
44
44
}
45
45
}
46
46
},
47
47
"encoding": "application/json"
48
48
},
49
-
"description": "List all explicit role grants from actor_role. Env-pinned administrators (ADMIN_DIDS) are NOT listed here — they're discovered via identity.getSession.envAdmin."
49
+
"description": "List role grants."
50
50
}
51
51
},
52
52
"$type": "com.atproto.lexicon.schema",
53
53
"lexicon": 1
54
54
}