~james-page/ubuntu/vivid/ceph/0.93

« back to all changes in this revision

Viewing changes to src/rgw/rgw_acl_s3.cc

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-07-30 10:15:40 UTC
  • mfrom: (0.1.29 sid)
  • Revision ID: package-import@ubuntu.com-20140730101540-b7gsn9jqkye4a5ty
Tags: 0.80.5-1
* New upstream stable release:
  - d/p/firefly-post-release.patch: Dropped, no longer required.
  - d/lib{rados2,cephfs1}.symbols: Update with new symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
  }
245
245
}
246
246
 
247
 
ACLGroupTypeEnum ACLGrant_S3::uri_to_group(string& uri)
248
 
{
249
 
  if (uri.compare(rgw_uri_all_users) == 0)
250
 
    return ACL_GROUP_ALL_USERS;
251
 
  else if (uri.compare(rgw_uri_auth_users) == 0)
252
 
    return ACL_GROUP_AUTHENTICATED_USERS;
253
 
 
254
 
  return ACL_GROUP_NONE;
255
 
}
256
 
 
257
247
bool RGWAccessControlList_S3::xml_end(const char *el) {
258
248
  XMLObjIter iter = find("Grant");
259
249
  ACLGrant_S3 *grant = static_cast<ACLGrant_S3 *>(iter.get_next());