mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
support tagging based policy conditions (#15763)
This commit is contained in:
@@ -199,7 +199,7 @@ func (c Config) FilterActionableRules(obj ObjectOpts) []Rule {
|
||||
if !strings.HasPrefix(obj.Name, rule.Prefix()) {
|
||||
continue
|
||||
}
|
||||
if rule.Filter.TestTags(strings.Split(obj.UserTags, "&")) {
|
||||
if rule.Filter.TestTags(obj.UserTags) {
|
||||
rules = append(rules, rule)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user