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

Method BulkMarkNotificationMessagesSent

coderd/database/dbauthz/dbauthz.go:1721–1726  ·  view source on GitHub ↗
(ctx context.Context, arg database.BulkMarkNotificationMessagesSentParams)

Source from the content-addressed store, hash-verified

1719}
1720
1721func (q *querier) BulkMarkNotificationMessagesSent(ctx context.Context, arg database.BulkMarkNotificationMessagesSentParams) (int64, error) {
1722 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceNotificationMessage); err != nil {
1723 return 0, err
1724 }
1725 return q.db.BulkMarkNotificationMessagesSent(ctx, arg)
1726}
1727
1728func (q *querier) CalculateAIBridgeInterceptionsTelemetrySummary(ctx context.Context, arg database.CalculateAIBridgeInterceptionsTelemetrySummaryParams) (database.CalculateAIBridgeInterceptionsTelemetrySummaryRow, error) {
1729 if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAibridgeInterception); err != nil {

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95

Tested by

no test coverage detected