From d92b2b4c671001acf7dfd9cd0cf643f797d6f58e Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 9 Sep 2022 09:46:29 +0000 Subject: [PATCH] Bug 30588: (QA follow-up) Adjust flags for two_factor_auth.pl Anyone with staff access (catalogue) should be able to go to account and enable 2FA. Test plan: Have a staff user with minimum staff permission. Access account, manage 2FA. Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- members/two_factor_auth.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/two_factor_auth.pl b/members/two_factor_auth.pl index ccbafe39f9..81220c4b27 100755 --- a/members/two_factor_auth.pl +++ b/members/two_factor_auth.pl @@ -33,7 +33,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( template_name => 'members/two_factor_auth.tt', query => $cgi, type => 'intranet', - flagsrequired => { editcatalogue => '*' }, + flagsrequired => { catalogue => 1 }, } ); -- 2.39.5