Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions db/comdb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ int gbl_authentication_cache_ageout = 900;
int gbl_authorization_cache_ageout = 600;
int gbl_cache_authz_perms = 1;
int gbl_iam_verbosity = 0;
int gbl_iam_decision_history = 0;
int gbl_use_sp_resource = 0;
int gbl_upd_key;
unsigned long long gbl_sqltick;
Expand Down
1 change: 1 addition & 0 deletions db/comdb2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,7 @@ extern int gbl_authentication_cache_ageout;
extern int gbl_authorization_cache_ageout;
extern int gbl_cache_authz_perms;
extern int gbl_iam_verbosity;
extern int gbl_iam_decision_history;
extern int gbl_use_sp_resource;
extern char* gbl_foreign_metadb;
extern char* gbl_foreign_metadb_class;
Expand Down
3 changes: 3 additions & 0 deletions db/db_tunables.h
Original file line number Diff line number Diff line change
Expand Up @@ -2416,6 +2416,9 @@ REGISTER_TUNABLE("authorization_cache_ageout", "Max age of authorization cache (
REGISTER_TUNABLE("iam_usermetric_verbosity", "IAM user metric verbosity [Default: 0 (off)]", TUNABLE_INTEGER,
&gbl_iam_verbosity, 0, NULL, NULL, NULL, NULL);

REGISTER_TUNABLE("iam_decision_history", "Enable IAM decision history [Default: 0 (off)]", TUNABLE_INTEGER,
&gbl_iam_decision_history, 0, NULL, NULL, NULL, NULL);

REGISTER_TUNABLE("iam_allow_sp_resource", "Allow stored-procedure as IAM resource [Default: 0 (off)]", TUNABLE_INTEGER,
&gbl_use_sp_resource, 0, NULL, NULL, NULL, NULL);

Expand Down
1 change: 1 addition & 0 deletions tests/tunables.test/t00_all_tunables.expected
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@
(name='iam_allow_sp_resource', description='Allow stored-procedure as IAM resource [Default: 0 (off)]', type='INTEGER', value='0', read_only='N')
(name='iam_base_bri', description='base resource identifier for IAM', type='STRING', value=NULL, read_only='Y')
(name='iam_dbname', description='override dbname for IAM', type='STRING', value=NULL, read_only='Y')
(name='iam_decision_history', description='Enable IAM decision history [Default: 0 (off)]', type='INTEGER', value='0', read_only='N')
(name='iam_usermetric_verbosity', description='IAM user metric verbosity [Default: 0 (off)]', type='INTEGER', value='0', read_only='N')
(name='ignore_bad_table', description='Allow a database with a corrupt table to come up, without that table.', type='BOOLEAN', value='OFF', read_only='N')
(name='ignore_datetime_cast_failures', description='ignore_datetime_cast_failures', type='BOOLEAN', value='OFF', read_only='N')
Expand Down