]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix build of conflict after auth rework 14203/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 28 Mar 2017 19:01:59 +0000 (15:01 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 28 Mar 2017 19:01:59 +0000 (15:01 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_op.cc

index f172ba571a1094d0e76f0763f6419533e0f05b97..a000aaffc41a7b9835a960aaf77bf48651768f41 100644 (file)
@@ -878,7 +878,7 @@ int RGWGetObj::read_user_manifest_part(rgw_bucket& bucket,
    * stored inside different accounts. */
   if (s->system_request) {
     ldout(s->cct, 2) << "overriding permissions due to system operation" << dendl;
-  } else if (s->auth_identity->is_admin_of(s->user->user_id)) {
+  } else if (s->auth.identity->is_admin_of(s->user->user_id)) {
     ldout(s->cct, 2) << "overriding permissions due to admin operation" << dendl;
   } else if (!verify_object_permission(s, s->user_acl.get(), bucket_policy,
                                        &obj_policy, RGW_PERM_READ)) {