summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_acl.h
diff options
context:
space:
mode:
authorAbhishek Lekshmanan <abhishek@suse.com>2019-08-27 16:13:43 +0200
committerAbhishek Lekshmanan <abhishek@suse.com>2020-02-03 17:53:30 +0100
commit57baa840445a0027efa5667d1797160b38ecdcd2 (patch)
tree2f9f00455a9562161e85cf8dba11b57bc405d142 /src/rgw/rgw_acl.h
parentMerge pull request #32859 from liewegas/wip-cephadm-services (diff)
downloadceph-57baa840445a0027efa5667d1797160b38ecdcd2.tar.xz
ceph-57baa840445a0027efa5667d1797160b38ecdcd2.zip
rgw: acl: drop unused function & make get_group_perm const
Drop the unused RGWAccessControlPolicy::get_group_perm, make the ACL get_group_perm as a const member function Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Diffstat (limited to 'src/rgw/rgw_acl.h')
-rw-r--r--src/rgw/rgw_acl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rgw/rgw_acl.h b/src/rgw/rgw_acl.h
index c08edda078c..2b9ff3694dc 100644
--- a/src/rgw/rgw_acl.h
+++ b/src/rgw/rgw_acl.h
@@ -306,7 +306,7 @@ public:
uint32_t get_perm(const DoutPrefixProvider* dpp,
const rgw::auth::Identity& auth_identity,
uint32_t perm_mask);
- uint32_t get_group_perm(ACLGroupTypeEnum group, uint32_t perm_mask);
+ uint32_t get_group_perm(ACLGroupTypeEnum group, uint32_t perm_mask) const;
uint32_t get_referer_perm(uint32_t current_perm,
std::string http_referer,
uint32_t perm_mask);
@@ -419,7 +419,6 @@ public:
const rgw::auth::Identity& auth_identity,
uint32_t perm_mask,
const char * http_referer);
- uint32_t get_group_perm(ACLGroupTypeEnum group, uint32_t perm_mask);
bool verify_permission(const DoutPrefixProvider* dpp,
const rgw::auth::Identity& auth_identity,
uint32_t user_perm_mask,