Skip to content

Commit adae379

Browse files
committed
Correct user-deny perm in test
1 parent e048104 commit adae379

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/authz/authz_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ func TestAuthorizeLevels(t *testing.T) {
442442
{
443443
Name: "user-deny-all",
444444
// List out deny permissions explicitly
445-
Site: []authz.Permission{
445+
User: []authz.Permission{
446446
{
447447
Negate: true,
448448
ResourceType: authz.WildcardSymbol,
@@ -516,7 +516,7 @@ func TestAuthorizeLevels(t *testing.T) {
516516
{
517517
Name: "user-deny-all",
518518
// List out deny permissions explicitly
519-
Site: []authz.Permission{
519+
User: []authz.Permission{
520520
{
521521
Negate: true,
522522
ResourceType: authz.WildcardSymbol,

0 commit comments

Comments
 (0)