We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc76887 commit 002f354Copy full SHA for 002f354
provisionerd/provisionerd.go
@@ -22,8 +22,6 @@ import (
22
"golang.org/x/xerrors"
23
24
"cdr.dev/slog"
25
- "github.com/coder/coder/coderd/database/dbauthz"
26
- "github.com/coder/coder/coderd/rbac"
27
"github.com/coder/coder/coderd/tracing"
28
"github.com/coder/coder/cryptorand"
29
"github.com/coder/coder/provisionerd/proto"
@@ -95,8 +93,6 @@ func New(clientDialer Dialer, opts *Options) *Server {
95
93
opts.Metrics = &mets
96
94
}
97
98
- // TODO: Scope down the permissions of the system context for provisionerd
99
- ctx := dbauthz.WithAuthorizeSystemContext(context.Background(), rbac.RolesAdminSystem())
100
ctx, ctxCancel := context.WithCancel(ctx)
101
daemon := &Server{
102
opts: opts,
0 commit comments