8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 04:43:03 +01:00
firebird-mirror/src/jrd/SystemPrivileges.h

50 lines
1.3 KiB
C++

/* license? */
#if defined(SYSTEM_PRIVILEGE) || (!defined(FB_JRD_SYSTEM_PRIVILEGES))
#ifndef SYSTEM_PRIVILEGE
#define SYSTEM_PRIVILEGE(p) p,
#define FB_JRD_SYSTEM_PRIVILEGES
#define FB_JRD_SYSTEM_PRIVILEGES_TMP
namespace Jrd {
enum SystemPrivilege
{
NULL_PRIVILEGE,
#endif
SYSTEM_PRIVILEGE(USER_MANAGEMENT)
SYSTEM_PRIVILEGE(READ_RAW_PAGES)
SYSTEM_PRIVILEGE(CREATE_USER_TYPES)
SYSTEM_PRIVILEGE(USE_NBACKUP_UTILITY)
SYSTEM_PRIVILEGE(CHANGE_SHUTDOWN_MODE)
SYSTEM_PRIVILEGE(TRACE_ANY_ATTACHMENT)
SYSTEM_PRIVILEGE(MONITOR_ANY_ATTACHMENT)
SYSTEM_PRIVILEGE(ACCESS_SHUTDOWN_DATABASE)
SYSTEM_PRIVILEGE(CREATE_DATABASE)
SYSTEM_PRIVILEGE(DROP_DATABASE)
SYSTEM_PRIVILEGE(USE_GBAK_UTILITY)
SYSTEM_PRIVILEGE(USE_GSTAT_UTILITY)
SYSTEM_PRIVILEGE(USE_GFIX_UTILITY)
SYSTEM_PRIVILEGE(IGNORE_DB_TRIGGERS)
SYSTEM_PRIVILEGE(CHANGE_HEADER_SETTINGS)
SYSTEM_PRIVILEGE(SELECT_ANY_OBJECT_IN_DATABASE)
SYSTEM_PRIVILEGE(ACCESS_ANY_OBJECT_IN_DATABASE)
SYSTEM_PRIVILEGE(MODIFY_ANY_OBJECT_IN_DATABASE)
SYSTEM_PRIVILEGE(CHANGE_MAPPING_RULES)
SYSTEM_PRIVILEGE(USE_GRANTED_BY_CLAUSE)
SYSTEM_PRIVILEGE(GRANT_REVOKE_ON_ANY_OBJECT)
SYSTEM_PRIVILEGE(GRANT_REVOKE_ANY_DDL_RIGHT)
SYSTEM_PRIVILEGE(CREATE_PRIVILEGED_ROLES)
#ifdef FB_JRD_SYSTEM_PRIVILEGES_TMP
maxSystemPrivilege
};
} // namespace Jrd
#undef SYSTEM_PRIVILEGE
#undef FB_JRD_SYSTEM_PRIVILEGES_TMP
#endif
#endif