Skip to content

Commit 04827d6

Browse files
committed
add test case for secret write access for administrators
1 parent 39e6e18 commit 04827d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/e2e/authorization.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,11 @@ var _ = g.Describe("Authorization [RBAC] [Zalando]", func() {
503503
tc.run(context.TODO(), cs, true)
504504
gomega.Expect(tc.output.passed).To(gomega.BeTrue(), tc.output.String())
505505
})
506+
g.It("should allow write access", func() {
507+
tc.data.verbs = writeOperations
508+
tc.run(context.TODO(), cs, true)
509+
gomega.Expect(tc.output.passed).To(gomega.BeTrue(), tc.output.String())
510+
})
506511
})
507512

508513
g.When("the resource is not a Secret", func() {

0 commit comments

Comments
 (0)