Skip to content

Commit b4824c7

Browse files
committed
web: fix template permission check bug
Resolves #3582
1 parent 184f062 commit b4824c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/xServices/auth/authXService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const permissionsToCheck = {
4040
object: {
4141
resource_type: "template",
4242
},
43-
action: "write",
43+
action: "update",
4444
},
4545
[checks.viewAuditLog]: {
4646
object: {

0 commit comments

Comments
 (0)