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 <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2022-09-09 09:46:29 +00:00 committed by Tomas Cohen Arazi
parent 316355e8d5
commit d92b2b4c67
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -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 },
}
);