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

Method UpsertLogoURL

coderd/database/dbauthz/dbauthz.go:8215–8220  ·  view source on GitHub ↗
(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

8213}
8214
8215func (q *querier) UpsertLogoURL(ctx context.Context, value string) error {
8216 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil {
8217 return err
8218 }
8219 return q.db.UpsertLogoURL(ctx, value)
8220}
8221
8222func (q *querier) UpsertMCPServerUserToken(ctx context.Context, arg database.UpsertMCPServerUserTokenParams) (database.MCPServerUserToken, error) {
8223 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil {

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95
UpsertLogoURLMethod · 0.65

Tested by

no test coverage detected