MCPcopy Index your code
hub / github.com/coder/coder / GetWebpushVAPIDKeys

Method GetWebpushVAPIDKeys

coderd/database/dbauthz/dbauthz.go:4860–4865  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

4858}
4859
4860func (q *querier) GetWebpushVAPIDKeys(ctx context.Context) (database.GetWebpushVAPIDKeysRow, error) {
4861 if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceDeploymentConfig); err != nil {
4862 return database.GetWebpushVAPIDKeysRow{}, err
4863 }
4864 return q.db.GetWebpushVAPIDKeys(ctx)
4865}
4866
4867func (q *querier) GetWorkspaceACLByID(ctx context.Context, id uuid.UUID) (database.GetWorkspaceACLByIDRow, error) {
4868 workspace, err := q.db.GetWorkspaceByID(ctx, id)

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95
GetWebpushVAPIDKeysMethod · 0.65

Tested by

no test coverage detected