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

Method InsertAIBridgeInterception

coderd/database/dbauthz/dbauthz.go:5389–5391  ·  view source on GitHub ↗
(ctx context.Context, arg database.InsertAIBridgeInterceptionParams)

Source from the content-addressed store, hash-verified

5387}
5388
5389func (q *querier) InsertAIBridgeInterception(ctx context.Context, arg database.InsertAIBridgeInterceptionParams) (database.AIBridgeInterception, error) {
5390 return insert(q.log, q.auth, rbac.ResourceAibridgeInterception.WithOwner(arg.InitiatorID.String()), q.db.InsertAIBridgeInterception)(ctx, arg)
5391}
5392
5393func (q *querier) InsertAIBridgeModelThought(ctx context.Context, arg database.InsertAIBridgeModelThoughtParams) (database.AIBridgeModelThought, error) {
5394 if err := q.authorizeAIBridgeInterceptionAction(ctx, policy.ActionUpdate, arg.InterceptionID); err != nil {

Callers

nothing calls this directly

Calls 3

insertFunction · 0.85
WithOwnerMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected