mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Update ContextAccess.h
This commit is contained in:
parent
0864549c4c
commit
4ffc898063
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user