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

Method InsertBoundarySession

coderd/database/dbauthz/dbauthz.go:5467–5469  ·  view source on GitHub ↗

TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type.

(ctx context.Context, arg database.InsertBoundarySessionParams)

Source from the content-addressed store, hash-verified

5465
5466// TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type.
5467func (q *querier) InsertBoundarySession(ctx context.Context, arg database.InsertBoundarySessionParams) (database.BoundarySession, error) {
5468 return insert(q.log, q.auth, rbac.ResourceAuditLog, q.db.InsertBoundarySession)(ctx, arg)
5469}
5470
5471func (q *querier) InsertChat(ctx context.Context, arg database.InsertChatParams) (database.Chat, error) {
5472 return insert(q.log, q.auth, rbac.ResourceChat.WithOwner(arg.OwnerID.String()).InOrg(arg.OrganizationID), q.db.InsertChat)(ctx, arg)

Callers

nothing calls this directly

Calls 1

insertFunction · 0.85

Tested by

no test coverage detected