Skip to content

Commit

Permalink
Merge branch 'master' into disable-phone-verification-in-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrancisc authored Aug 31, 2023
2 parents 654ded1 + 71b3187 commit 41bfb96
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion testsupport/tiers/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@ func appstudioAdminUserActionsRole() spaceRoleObjectsCheck {
return func(t *testing.T, ns *corev1.Namespace, memberAwait *wait.MemberAwaitility, owner string) {
role, err := memberAwait.WaitForRole(t, ns, "appstudio-admin-user-actions", toolchainLabelsWaitCriterion(owner)...)
require.NoError(t, err)
assert.Len(t, role.Rules, 15)
assert.Len(t, role.Rules, 16)
expected := &rbacv1.Role{
Rules: []rbacv1.PolicyRule{
{
Expand Down Expand Up @@ -1560,6 +1560,11 @@ func appstudioAdminUserActionsRole() spaceRoleObjectsCheck {
Resources: []string{"pods/exec"},
Verbs: []string{"create"},
},
{
APIGroups: []string{"toolchain.dev.openshift.com"},
Resources: []string{"spacebindingrequests"},
Verbs: []string{"get", "list", "watch", "create", "update", "patch", "delete"},
},
},
}

Expand Down

0 comments on commit 41bfb96

Please sign in to comment.