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
Before moving to Apollo Federation we were able to list all system security scopes via a simple query on security field:
{
security {
scopes
}
}
Now that all services are standalone, we no longer have the ability to see all existing scopes.
Proposed solution
Each @webiny/api-* package that defines GQL schema, should provide a plugin which contains a list of scopes (and possibly a description of each scope?). Then in serverless.yml we will use those plugins when deploying the security service, like this:
Before moving to Apollo Federation we were able to list all system security scopes via a simple query on
security
field:Now that all services are standalone, we no longer have the ability to see all existing scopes.
Proposed solution
Each
@webiny/api-*
package that defines GQL schema, should provide a plugin which contains a list of scopes (and possibly a description of each scope?). Then inserverless.yml
we will use those plugins when deploying thesecurity
service, like this:If there are better ways to implement this, I'm open to suggestions.
The text was updated successfully, but these errors were encountered: