]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: comment RGWThirdPartyAccountAuthApplier<T>::UNKNOWN_ACCT. 10212/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 7 Jul 2016 17:53:53 +0000 (19:53 +0200)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Fri, 8 Jul 2016 14:54:32 +0000 (16:54 +0200)
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/rgw/rgw_auth_decoimpl.h

index 2a841380bca04268be77d11dcab4009cec243023..cf9825bab0907ed189b200cb33a7fc530f805831 100644 (file)
@@ -98,7 +98,9 @@ class RGWThirdPartyAccountAuthApplier : public RGWDecoratingAuthApplier<T> {
   /* const */RGWRados * const store;
   const rgw_user acct_user_override;
 public:
-  /* FIXME: comment this. */
+  /* A value representing situations where there is no requested account
+   * override. In other words, acct_user_override will be equal to this
+   * constant where the request isn't a cross-tenant one. */
   static const rgw_user UNKNOWN_ACCT;
 
   template <typename U>
@@ -114,7 +116,8 @@ public:
   void load_acct_info(RGWUserInfo& user_info) const override;   /* out */
 };
 
-/* static declaration */
+/* static declaration: UNKNOWN_ACCT will be an empty rgw_user that is a result
+ * of the default construction. */
 template <typename T>
 const rgw_user RGWThirdPartyAccountAuthApplier<T>::UNKNOWN_ACCT;