• Resolved Nabetse

    (@nabetse)


    Hi there!

    We have a website with several features: It is an ecommerce and we manage block entries and recipes (different post types). Different people contribute to the website and we currently have different roles for edition and management capabilities.

    2FA can only be set for the editor and administrator roles. Would it be possible to set it for the “shop manager”, “recipe editor” and “block editor” roles as well?

    • This topic was modified 1 year, 10 months ago by Nabetse.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Tsvetan Mitev

    (@tsvetanm)

    Hello @nabetse,

    You can force other roles to use the Two-Factor authentication with the following filter:

    add_filter( 'sg_security_2fa_roles', 'add_user_roles_to_2fa' );
    function add_user_roles_to_2fa( $roles ) {
    $roles[] = 'your_role';
    return $roles;
    }

    You can find all of the custom filters SiteGround Security supports in the plugin’s documentation here: https://www.ads-software.com/plugins/sg-security/

    Best Regards,

    Tsvetan Mitev

    Thread Starter Nabetse

    (@nabetse)

    Awesome, I was not aware of such documentation.

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to set 2FA for roles different than editor or administrator?’ is closed to new replies.