• Resolved mrengy

    (@mrengy)


    I have a custom role set with members called “form editor”. This grants permissions to edit GravityForms forms and entries. It used to work fine, but now when a user with the role “form editor” tries to log in, instead of going to siteurl.com/wp-admin, they are redirected to siteurl.com/my-account . From there manually entering siteurl.com/wp-admin in the address bar just redirects to siteurl.com/my-account , which doesn’t provide access to any of the admin menu.

    The user has the roles “Form Editor” and “Subscriber”:

    Here are the permissions on the “Form Editor” role:

    I tried removing the “subscriber” role and leaving only the “form editor” role on this user, but that had no effect.

    Seems to be the same issue as described in this WooCommerce thread with no resolution (my site also uses WooCommerce and obviously GravityForms).

    I did view GravityForms’ role management guide where they recommend using Members and this Members FAQ about GravityForms, but neither gave me a path forward here.

    WordPress 6.4.3 running Divi theme
    Members Plugin v 3.2.9
    GravityForms Plugin v 2.8.3

    Hosted on WP Engine

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @mrengy

    I’m sorry to hear you are experiencing difficulties.

    I had a look at the WooCommerce thread and noticed that part:

    You are redirected to the “my-account” page after logging in because it is normal behaviour for customers/subscribers attempting to log in to the wp-admin page.

    Some plugins might block access to wp-admin and I’m afraid that we don’t have any way to prevent this in Members. However, you could check this post that seems to have some solution for WooCommerce: https://stackoverflow.com/questions/65850792/woocommerce-how-to-disable-redirection-to-my-account-page

    Best

    Hello there,

    I’m currently testing the Members plugin and found this thread as I was looking for something else (which is displaying the admin toolbar to users with a role that grants access to the admin).

    I thought it was worth mentioning for others ending here that’s Members has an ? Admin Access ? addon which ? Allows site administrators to control which users have access to the WordPress admin via role. ?

    I’ve just enabled this addon few minutes ago because none of my custom roles could access the admin without something like the edit_posts capability.

    And we can see that this addon actually adds this filter:
    ./wp-content/plugins/members/addons/members-admin-access/app/functions-admin.php:35: add_filter( 'woocommerce_prevent_admin_access', '__return_false' );

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.