8000 update test · coder/coder@9abb49b · GitHub
[go: up one dir, main page]

Skip to content

Commit 9abb49b

Browse files
committed
update test
1 parent 8726ae7 commit 9abb49b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/rbac/roles_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,11 +718,11 @@ func TestRolePermissions(t *testing.T) {
718718
Actions: []policy.Action{policy.ActionRead, policy.ActionUpdate},
719719
Resource: rbac.ResourceIdpsyncSettings.InOrg(orgID),
720720
AuthorizeMap: map[bool][]hasAuthSubjects{
721-
true: {owner, orgAdmin},
721+
true: {owner, orgAdmin, orgUserAdmin},
722722
false: {
723723
orgMemberMe, otherOrgAdmin,
724724
memberMe, userAdmin, templateAdmin,
725-
orgAuditor, orgUserAdmin, orgTemplateAdmin,
725+
orgAuditor, orgTemplateAdmin,
726726
otherOrgMember, otherOrgAuditor, otherOrgUserAdmin, otherOrgTemplateAdmin,
727727
},
728728
},

0 commit comments

Comments
 (0)
0