Skip to content

Commit f9214ed

Browse files
kylecarbsEmyrk
andcommitted
Update coderd/database/dbauthz/dbauthz.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
1 parent ff84b73 commit f9214ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbauthz/dbauthz.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3268,7 +3268,7 @@ func (q *querier) UpdateUserGithubComUserID(ctx context.Context, arg database.Up
32683268

32693269
err = q.authorizeContext(ctx, policy.ActionUpdatePersonal, user)
32703270
if err != nil {
3271-
// Admins can update passwords for other users.
3271+
// System user can also update
32723272
err = q.authorizeContext(ctx, policy.ActionUpdate, user)
32733273
if err != nil {
32743274
return err

0 commit comments

Comments
 (0)