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

Method InsertGroup

coderd/database/dbauthz/dbauthz.go:5614–5616  ·  view source on GitHub ↗
(ctx context.Context, arg database.InsertGroupParams)

Source from the content-addressed store, hash-verified

5612}
5613
5614func (q *querier) InsertGroup(ctx context.Context, arg database.InsertGroupParams) (database.Group, error) {
5615 return insert(q.log, q.auth, rbac.ResourceGroup.InOrg(arg.OrganizationID), q.db.InsertGroup)(ctx, arg)
5616}
5617
5618func (q *querier) InsertGroupMember(ctx context.Context, arg database.InsertGroupMemberParams) error {
5619 fetch := func(ctx context.Context, arg database.InsertGroupMemberParams) (database.Group, error) {

Callers

nothing calls this directly

Calls 2

insertFunction · 0.85
InOrgMethod · 0.80

Tested by

no test coverage detected