Skip to content

Commit 8d37383

Browse files
committed
fixup! chore: audit log filter to be skipped if user is owner/admin
1 parent ae4220c commit 8d37383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/database/dbauthz/dbauthz_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ func (s *MethodTestSuite) TestAuditLogs() {
273273
_ = dbgen.AuditLog(s.T(), db, database.AuditLog{})
274274
check.Args(database.GetAuditLogsOffsetParams{
275275
LimitOpt: 10,
276-
}, emptyPreparedAuthorized{}).Asserts()
276+
}, emptyPreparedAuthorized{}).Asserts(rbac.ResourceAuditLog, policy.ActionRead)
277277
}))
278278
}
279279

0 commit comments

Comments
 (0)