aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Access/SettingsConstraintsAndProfileIDs.h
blob: 6bd5fd168dc08709d90f3a0b36cc1ef75c641d32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <Access/SettingsConstraints.h>
#include <Core/UUID.h>
#include <vector>


namespace DB
{

/// Information about currently applied constraints and profiles.
struct SettingsConstraintsAndProfileIDs
{
    SettingsConstraints constraints;
    std::vector<UUID> current_profiles;
    std::vector<UUID> enabled_profiles;

    explicit SettingsConstraintsAndProfileIDs(const AccessControl & access_control_) : constraints(access_control_) {}
};

}