(ctx context.Context)
| 3475 | } |
| 3476 | |
| 3477 | func (q *querier) GetForcedMCPServerConfigs(ctx context.Context) ([]database.MCPServerConfig, error) { |
| 3478 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceDeploymentConfig); err != nil { |
| 3479 | return nil, err |
| 3480 | } |
| 3481 | return q.db.GetForcedMCPServerConfigs(ctx) |
| 3482 | } |
| 3483 | |
| 3484 | func (q *querier) GetGitSSHKey(ctx context.Context, userID uuid.UUID) (database.GitSSHKey, error) { |
| 3485 | return fetchWithAction(q.log, q.auth, policy.ActionReadPersonal, q.db.GetGitSSHKey)(ctx, userID) |
nothing calls this directly
no test coverage detected