rgw: Fix evaluation of bucket management permissions
I spent some more time looking through the documentation of how work
is evaluated, and the examples on
<http://docs.aws.amazon.com/AmazonS3/latest/dev/
access-control-auth-workflow-bucket-operation.html>
Have convinced me that the behavior that was requested is more correct
than what we were doing before.
Fixes: http://tracker.ceph.com/issues/21901
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit
343a25aa2134b6fdddeca6c9dfbaefde2dc9c66a)