(ctx context.Context, arg database.InsertUserGroupsByIDParams)
| 5866 | } |
| 5867 | |
| 5868 | func (q *querier) InsertUserGroupsByID(ctx context.Context, arg database.InsertUserGroupsByIDParams) ([]uuid.UUID, error) { |
| 5869 | // This is used by OIDC sync. So only used by a system user. |
| 5870 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceSystem); err != nil { |
| 5871 | return nil, err |
| 5872 | } |
| 5873 | return q.db.InsertUserGroupsByID(ctx, arg) |
| 5874 | } |
| 5875 | |
| 5876 | // TODO: Should this be in system.go? |
| 5877 | func (q *querier) InsertUserLink(ctx context.Context, arg database.InsertUserLinkParams) (database.UserLink, error) { |
nothing calls this directly
no test coverage detected