The insights dashboard API allows input to modify the grants available. This has the consequence that it is possible to create or modify a dashboard such that the user initiating the request will no longer be able to view the dashboard. Currently, this violates the GraphQL schema for a non-null dashboard response.
The insights dashboard API allows input to modify the grants available. This has the consequence that it is possible to create or modify a dashboard such that the user initiating the request will no longer be able to view the dashboard. Currently, this violates the GraphQL schema for a non-null dashboard response.
Some context
We should come up with a solution that either enforces the non-null invariant in a consistent way, or otherwise prevent this action from happening.