AccessControl: Use an SQLFilter struct (#44887)

This commit is contained in:
Gabriel MABILLE
2022-02-07 16:18:52 +01:00
committed by GitHub
parent bdac6576e4
commit 178193c84b
5 changed files with 26 additions and 19 deletions
+5
View File
@@ -248,6 +248,11 @@ type GetResourcesPermissionsQuery struct {
OnlyManaged bool
}
type SQLFilter struct {
Where string
Args []interface{}
}
const (
GlobalOrgID = 0
// Permission actions