Skip to content

Commit bcf91f9

Browse files
committed
Fix roles test
1 parent 442c75a commit bcf91f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/rbac/roles_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ func TestRolePermissions(t *testing.T) {
344344
},
345345
{
346346
Name: "UserData",
347-
Actions: []policy.Action{policy.ActionReadPersonal, policy.ActionUpdatePersonal, policy.ActionViewInsights},
347+
Actions: []policy.Action{policy.ActionReadPersonal, policy.ActionUpdatePersonal},
348348
Resource: rbac.ResourceUserObject(currentUser),
349349
AuthorizeMap: map[bool][]hasAuthSubjects{
350350
true: {owner, orgMemberMe, memberMe, userAdmin},

0 commit comments

Comments
 (0)