Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04c584e

Browse files
committed
chore: fix role test
Signed-off-by: Danny Kopping <danny@coder.com>
1 parentd4a58da commit04c584e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎coderd/rbac/roles_test.go‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,8 @@ func TestRolePermissions(t *testing.T) {
893893
Actions: []policy.Action{policy.ActionCreate,policy.ActionRead,policy.ActionUpdate},
894894
Resource:rbac.ResourceAibridgeInterception,
895895
AuthorizeMap:map[bool][]hasAuthSubjects{
896-
true: {},
896+
true: {owner},
897897
false: {
898-
owner,
899898
memberMe,orgMemberMe,otherOrgMember,
900899
orgAdmin,otherOrgAdmin,
901900
orgAuditor,otherOrgAuditor,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp