Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
info.access_keys.clear();
}
-bool rgw_user_is_authenticated(RGWUserInfo& info)
-{
- return (info.user_id.id != RGW_USER_ANON_ID);
-}
-
int rgw_user_sync_all_stats(RGWRados *store, const rgw_user& user_id)
{
CephContext *cct = store->ctx();
*/
extern void rgw_get_anon_user(RGWUserInfo& info);
-/**
- * verify that user is an actual user, and not the anonymous user
- */
-extern bool rgw_user_is_authenticated(RGWUserInfo& info);
/**
* Save the given user information to storage.
* Returns: 0 on success, -ERR# on failure.