kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
See #890: Added Oauth scope for managing instance reports
rodzic
177f06cf2a
commit
815d9c02f8
|
@ -46,6 +46,8 @@ PERMISSIONS_CONFIGURATION = {
|
|||
"write:instance:accounts",
|
||||
"read:instance:domains",
|
||||
"write:instance:domains",
|
||||
"read:instance:reports",
|
||||
"write:instance:reports",
|
||||
},
|
||||
},
|
||||
"library": {
|
||||
|
|
|
@ -34,6 +34,7 @@ BASE_SCOPES = [
|
|||
Scope("instance:accounts", "Access instance federated accounts"),
|
||||
Scope("instance:domains", "Access instance domains"),
|
||||
Scope("instance:policies", "Access instance moderation policies"),
|
||||
Scope("instance:reports", "Access instance moderation reports"),
|
||||
]
|
||||
SCOPES = [
|
||||
Scope("read", children=[s.copy("read") for s in BASE_SCOPES]),
|
||||
|
|
Ładowanie…
Reference in New Issue