Add policy validation checks #57

Merged
dkirillov merged 1 commit from mbiryukova/policy-engine:feature/add_policy_validation_checks into master 2024-03-11 13:22:17 +00:00
Member

Signed-off-by: Marina Biryukova m.biryukova@yadro.com

Signed-off-by: Marina Biryukova <m.biryukova@yadro.com>
mbiryukova self-assigned this 2024-03-11 11:15:56 +00:00
mbiryukova force-pushed feature/add_policy_validation_checks from 5a2b000530 to dccdb3621c 2024-03-11 11:20:10 +00:00 Compare
mbiryukova changed title from [#xx] Add policy validation checks to [#57] Add policy validation checks 2024-03-11 11:23:36 +00:00
mbiryukova requested review from storage-core-committers 2024-03-11 11:24:55 +00:00
mbiryukova requested review from storage-core-developers 2024-03-11 11:24:56 +00:00
mbiryukova requested review from storage-services-developers 2024-03-11 11:24:56 +00:00
mbiryukova requested review from storage-services-committers 2024-03-11 11:24:57 +00:00
dstepanov-yadro approved these changes 2024-03-11 12:43:06 +00:00
acid-ant changed title from [#57] Add policy validation checks to Add policy validation checks 2024-03-11 12:53:29 +00:00
acid-ant approved these changes 2024-03-11 12:59:24 +00:00
dkirillov reviewed 2024-03-11 13:06:57 +00:00
iam/policy.go Outdated
@ -226,3 +232,4 @@
return errors.New("'Statement' is missing")
}
sids := make(map[string]struct{})
Member

It's better to use make(map[string]struct{}, len(p.Statement)

It's better to use `make(map[string]struct{}, len(p.Statement)`
dkirillov marked this conversation as resolved
dkirillov approved these changes 2024-03-11 13:10:27 +00:00
mbiryukova force-pushed feature/add_policy_validation_checks from dccdb3621c to 9040e48504 2024-03-11 13:14:24 +00:00 Compare
dkirillov approved these changes 2024-03-11 13:21:21 +00:00
dkirillov merged commit 9040e48504 into master 2024-03-11 13:22:17 +00:00
Sign in to join this conversation.
No description provided.