Commit fbb7c3d
committed
rgw: donot allow NotPrincipal with Allow Effect
NotPrincipal must be used with "Effect":"Deny". Using it with "Effect":"Allow" is not supported.
cf. https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_notprincipal.html
Fixes: https://tracker.ceph.com/issues/67047
Signed-off-by: Seena Fallah <[email protected]>1 parent 34257b8 commit fbb7c3d
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
704 | | - | |
705 | 704 | | |
706 | 705 | | |
707 | 706 | | |
708 | | - | |
| 707 | + | |
709 | 708 | | |
710 | 709 | | |
711 | 710 | | |
| |||
717 | 716 | | |
718 | 717 | | |
719 | 718 | | |
720 | | - | |
| 719 | + | |
721 | 720 | | |
722 | 721 | | |
723 | 722 | | |
| |||
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
759 | 765 | | |
760 | 766 | | |
761 | 767 | | |
| |||
0 commit comments