AccessControl: Use an SQLFilter struct (#44887)
This commit is contained in:
@@ -248,6 +248,11 @@ type GetResourcesPermissionsQuery struct {
|
||||
OnlyManaged bool
|
||||
}
|
||||
|
||||
type SQLFilter struct {
|
||||
Where string
|
||||
Args []interface{}
|
||||
}
|
||||
|
||||
const (
|
||||
GlobalOrgID = 0
|
||||
// Permission actions
|
||||
|
||||
Reference in New Issue
Block a user