Hello,
I have internal users that I need to have the capability to reset the email factor authentication. I've checked all of the capabilities under "Define Role," but nothing seems to allow this specific permission. It appears that the only role that can reset the email factor authentication is a Site Admin. When I go into the code for the plugin I'm using (https://moodle.org/plugins/tool_mfa) I see:
\core\notification::success(get_string('resetsuccessbulk', 'tool_mfa', $stringvar));
unset($SESSION->bulk_users);
// Redirect to bulk actions page.
redirect(new moodle_url('/admin/user/user_bulk.php'));
That along with a few other references in the same path, it states "admin." So likely, I'm answering my own question, but the reset capability is for admins only right? No work around for this?
Any help is greatly appreciated.