Update ContextAccess.h

This commit is contained in:
huzhichengdd 2022-01-12 15:37:16 +08:00 committed by GitHub
parent 0864549c4c
commit 4ffc898063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ struct ContextAccessParams
};
class ContextAccess
class ContextAccess : std::enable_shared_from_this<ContextAccess>
{
public:
using Params = ContextAccessParams;
@ -161,7 +161,7 @@ private:
ContextAccess() {}
ContextAccess(const AccessControl & access_control_, const Params & params_);
void subscribeForChanges(const std::shared_ptr<ContextAccess> &res);
void subscribeForChanges();
void setUser(const UserPtr & user_) const;
void setRolesInfo(const std::shared_ptr<const EnabledRolesInfo> & roles_info_) const;
void setSettingsAndConstraints() const;