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

Method BatchUpsertConnectionLogs

coderd/database/dbauthz/dbauthz.go:1707–1712  ·  view source on GitHub ↗
(ctx context.Context, arg database.BatchUpsertConnectionLogsParams)

Source from the content-addressed store, hash-verified

1705}
1706
1707func (q *querier) BatchUpsertConnectionLogs(ctx context.Context, arg database.BatchUpsertConnectionLogsParams) error {
1708 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceConnectionLog); err != nil {
1709 return err
1710 }
1711 return q.db.BatchUpsertConnectionLogs(ctx, arg)
1712}
1713
1714func (q *querier) BulkMarkNotificationMessagesFailed(ctx context.Context, arg database.BulkMarkNotificationMessagesFailedParams) (int64, error) {
1715 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceNotificationMessage); err != nil {

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95

Tested by

no test coverage detected