(ctx context.Context)
| 3410 | } |
| 3411 | |
| 3412 | func (q *querier) GetEnabledMCPServerConfigs(ctx context.Context) ([]database.MCPServerConfig, error) { |
| 3413 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceDeploymentConfig); err != nil { |
| 3414 | return nil, err |
| 3415 | } |
| 3416 | return q.db.GetEnabledMCPServerConfigs(ctx) |
| 3417 | } |
| 3418 | |
| 3419 | func (q *querier) GetExternalAuthLink(ctx context.Context, arg database.GetExternalAuthLinkParams) (database.ExternalAuthLink, error) { |
| 3420 | return fetchWithAction(q.log, q.auth, policy.ActionReadPersonal, q.db.GetExternalAuthLink)(ctx, arg) |
nothing calls this directly
no test coverage detected