Skip to content

Commit 7eb1dc8

Browse files
kylecarbsEmyrk
andauthored
Update coderd/database/dbauthz/dbauthz.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy