Skip to content

Commit 9e044cb

Browse files
authored
feat: add OPTIMIZE to AllowedDbLevelPrivileges
1 parent b078f16 commit 9e044cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/resources/role/validators.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ var AllowedDbLevelPrivileges = []string{
2323
"SHOW TABLES",
2424
"dictGet",
2525
"TRUNCATE",
26+
"OPTIMIZE",
2627
}
2728

2829
// SOURCE privileges that expand into READ + WRITE (v25.7+)

0 commit comments

Comments
 (0)