chore: allow user admins to configure idp sync (#14861)

This commit is contained in:
Steven Masley
2024-09-27 14:07:15 -05:00
committed by GitHub
parent 2c8b264d78
commit 33988fedcd
2 changed files with 3 additions and 2 deletions

View File

@ -718,11 +718,11 @@ func TestRolePermissions(t *testing.T) {
Actions: []policy.Action{policy.ActionRead, policy.ActionUpdate},
Resource: rbac.ResourceIdpsyncSettings.InOrg(orgID),
AuthorizeMap: map[bool][]hasAuthSubjects{
true: {owner, orgAdmin},
true: {owner, orgAdmin, orgUserAdmin},
false: {
orgMemberMe, otherOrgAdmin,
memberMe, userAdmin, templateAdmin,
orgAuditor, orgUserAdmin, orgTemplateAdmin,
orgAuditor, orgTemplateAdmin,
otherOrgMember, otherOrgAuditor, otherOrgUserAdmin, otherOrgTemplateAdmin,
},
},