From e245d107bac1e6d88a1bc6fc10f01d8b17d5f62f Mon Sep 17 00:00:00 2001 From: Tim Wickberg <tim@schedmd.com> Date: Thu, 31 Aug 2017 18:26:25 -0600 Subject: [PATCH] Revert "Add support for SLURM_TESTSUITE_DROP_PRIV to the accounting_storage plugins." This reverts commit 47dad9e8a2ce3d24baca4ef6f0ff2624e69e5a09. --- src/plugins/accounting_storage/common/common_as.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugins/accounting_storage/common/common_as.c b/src/plugins/accounting_storage/common/common_as.c index a153f62b389..a942b7145df 100644 --- a/src/plugins/accounting_storage/common/common_as.c +++ b/src/plugins/accounting_storage/common/common_as.c @@ -62,8 +62,6 @@ extern char *wckey_day_table; extern char *wckey_hour_table; extern char *wckey_month_table; -extern __thread bool drop_priv; - /* * We want SLURMDB_MODIFY_ASSOC always to be the last */ @@ -553,10 +551,6 @@ extern bool is_user_min_admin_level(void *db_conn, uid_t uid, * THERE IS NO AUTHENTICATION WHEN RUNNNING OUT OF THE * SLURMDBD! */ -#ifndef NDEBUG - if (drop_priv) - return false; -#endif if (slurmdbd_conf) { /* We have to check the authentication here in the * plugin since we don't know what accounts are being -- GitLab