Struct AccessPrivileges¶
-
struct
AccessPrivileges
¶ Public Functions
-
AccessPrivileges
()¶
-
AccessPrivileges
(int64_t priv)¶
-
void
reset
()¶
-
bool
hasAny
() const¶
-
bool
hasPermission
(int permission) const¶
-
void
add
(AccessPrivileges newprivs)¶
-
void
remove
(AccessPrivileges newprivs)¶
Public Members
-
int64_t
privileges
¶
Public Static Attributes
-
const AccessPrivileges
NONE
= AccessPrivileges(0)¶
-
const AccessPrivileges
ALL_DATABASE
= AccessPrivileges(DatabasePrivileges::ALL)¶
-
const AccessPrivileges
VIEW_SQL_EDITOR
= AccessPrivileges(DatabasePrivileges::VIEW_SQL_EDITOR)¶
-
const AccessPrivileges
ACCESS
= AccessPrivileges(DatabasePrivileges::ACCESS)¶
-
const AccessPrivileges
ALL_TABLE_MIGRATE
= AccessPrivileges(TablePrivileges::ALL_MIGRATE)¶
-
const AccessPrivileges
ALL_TABLE
= AccessPrivileges(TablePrivileges::ALL)¶
-
const AccessPrivileges
CREATE_TABLE
= AccessPrivileges(TablePrivileges::CREATE_TABLE)¶
-
const AccessPrivileges
DROP_TABLE
= AccessPrivileges(TablePrivileges::DROP_TABLE)¶
-
const AccessPrivileges
SELECT_FROM_TABLE
= AccessPrivileges(TablePrivileges::SELECT_FROM_TABLE)¶
-
const AccessPrivileges
INSERT_INTO_TABLE
= AccessPrivileges(TablePrivileges::INSERT_INTO_TABLE)¶
-
const AccessPrivileges
UPDATE_IN_TABLE
= AccessPrivileges(TablePrivileges::UPDATE_IN_TABLE)¶
-
const AccessPrivileges
DELETE_FROM_TABLE
= AccessPrivileges(TablePrivileges::DELETE_FROM_TABLE)¶
-
const AccessPrivileges
TRUNCATE_TABLE
= AccessPrivileges(TablePrivileges::TRUNCATE_TABLE)¶
-
const AccessPrivileges
ALTER_TABLE
= AccessPrivileges(TablePrivileges::ALTER_TABLE)¶
-
const AccessPrivileges
ALL_DASHBOARD_MIGRATE
= AccessPrivileges(DashboardPrivileges::ALL_MIGRATE)¶
-
const AccessPrivileges
ALL_DASHBOARD
= AccessPrivileges(DashboardPrivileges::ALL)¶
-
const AccessPrivileges
CREATE_DASHBOARD
= AccessPrivileges(DashboardPrivileges::CREATE_DASHBOARD)¶
-
const AccessPrivileges
VIEW_DASHBOARD
= AccessPrivileges(DashboardPrivileges::VIEW_DASHBOARD)¶
-
const AccessPrivileges
EDIT_DASHBOARD
= AccessPrivileges(DashboardPrivileges::EDIT_DASHBOARD)¶
-
const AccessPrivileges
DELETE_DASHBOARD
= AccessPrivileges(DashboardPrivileges::DELETE_DASHBOARD)¶
-
const AccessPrivileges
ALL_VIEW_MIGRATE
= AccessPrivileges(ViewPrivileges::ALL_MIGRATE)¶
-
const AccessPrivileges
ALL_VIEW
= AccessPrivileges(ViewPrivileges::ALL)¶
-
const AccessPrivileges
CREATE_VIEW
= AccessPrivileges(ViewPrivileges::CREATE_VIEW)¶
-
const AccessPrivileges
DROP_VIEW
= AccessPrivileges(ViewPrivileges::DROP_VIEW)¶
-
const AccessPrivileges
SELECT_FROM_VIEW
= AccessPrivileges(ViewPrivileges::SELECT_FROM_VIEW)¶
-
const AccessPrivileges
INSERT_INTO_VIEW
= AccessPrivileges(ViewPrivileges::INSERT_INTO_VIEW)¶
-
const AccessPrivileges
UPDATE_IN_VIEW
= AccessPrivileges(ViewPrivileges::UPDATE_IN_VIEW)¶
-
const AccessPrivileges
DELETE_FROM_VIEW
= AccessPrivileges(ViewPrivileges::DELETE_FROM_VIEW)¶
-
const AccessPrivileges
TRUNCATE_VIEW
= AccessPrivileges(ViewPrivileges::TRUNCATE_VIEW)¶
-
const AccessPrivileges
ALL_SERVER
= AccessPrivileges(ServerPrivileges::ALL)¶
-
const AccessPrivileges
CREATE_SERVER
= AccessPrivileges(ServerPrivileges::CREATE_SERVER)¶
-
const AccessPrivileges
DROP_SERVER
= AccessPrivileges(ServerPrivileges::DROP_SERVER)¶
-
const AccessPrivileges
ALTER_SERVER
= AccessPrivileges(ServerPrivileges::ALTER_SERVER)¶
-
const AccessPrivileges
SERVER_USAGE
= AccessPrivileges(ServerPrivileges::SERVER_USAGE)¶
-