summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_role.h
diff options
context:
space:
mode:
authorPritha Srivastava <prsrivas@redhat.com>2017-02-16 06:03:34 +0100
committerPritha Srivastava <prsrivas@redhat.com>2017-03-07 05:26:45 +0100
commit405c2012bcd6c4e5995448bf3f8b7428d010e21c (patch)
tree005348a80d8038b39a6396d77ca8dedbb0fef240 /src/rgw/rgw_role.h
parentMerge pull request #12177 from kylinstorage/wip-remove-unneeded-loop (diff)
downloadceph-405c2012bcd6c4e5995448bf3f8b7428d010e21c.tar.xz
ceph-405c2012bcd6c4e5995448bf3f8b7428d010e21c.zip
rgw: Replaced rgw userid with tenant in ARN for Roles.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Diffstat (limited to 'src/rgw/rgw_role.h')
-rw-r--r--src/rgw/rgw_role.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rgw/rgw_role.h b/src/rgw/rgw_role.h
index f8a60a4c568..861a797662b 100644
--- a/src/rgw/rgw_role.h
+++ b/src/rgw/rgw_role.h
@@ -17,7 +17,7 @@ class RGWRole
string creation_date;
string trust_policy;
map<string, string> perm_policy_map;
- string uid;
+ string tenant;
int store_info(bool exclusive);
int store_name(bool exclusive);
@@ -33,13 +33,13 @@ public:
string name,
string path,
string trust_policy,
- string uid)
+ string tenant)
: cct(cct),
store(store),
name(std::move(name)),
path(std::move(path)),
trust_policy(std::move(trust_policy)),
- uid(std::move(uid)) {
+ tenant(std::move(tenant)) {
if (this->path.empty())
this->path = "/";
}