Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7eb1dc8

Browse files
kylecarbsEmyrk
andauthored
Update coderd/database/dbauthz/dbauthz.go
Co-authored-by: Steven Masley <[email protected]>
1 parent 9ff32f3 commit 7eb1dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbauthz/dbauthz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3278,7 +3278,7 @@ func (q *querier) UpdateUserGithubComUserID(ctx context.Context, arg database.Up
32783278

32793279
err = q.authorizeContext(ctx, policy.ActionUpdatePersonal, user)
32803280
if err != nil {
3281-
// Admins can update passwords for other users.
3281+
// System user can also update
32823282
err = q.authorizeContext(ctx, policy.ActionUpdate, user)
32833283
if err != nil {
32843284
return err

0 commit comments

Comments
 (0)