#pragma once #include #include #include #include #include namespace DB { struct Role : public IAccessEntity { AccessRights access; AccessRights access_with_grant_option; boost::container::flat_set granted_roles; boost::container::flat_set granted_roles_with_admin_option; SettingsProfileElements settings; bool equal(const IAccessEntity & other) const override; std::shared_ptr clone() const override { return cloneImpl(); } }; using RolePtr = std::shared_ptr; }