• Resolved cameronbq

    (@cameronbq)


    WPML version 1.12.0; I have done the manual DB upgrade

    WP 6.2.2; WooCommerce 7.9.0

    using a custom theme.

    Browsers Chrome and Firefox, Win 10 x64

    This is a bug that seems to be the same as reported 4 weeks ago. The “resolution” in that case is a workaround to get running again but it does not fix the bug.

    I have a woocommerce setup and was wanting to give access to the email logs to people with shop-manager roles.

    I initially assigned the setting “can see submission data” to Manage Woocommerce but the person with Shop Manager role said they could not see a change in menu, even after logout and back in. I then set permission to “read_shop_order” and suddenly I, with Administrator role, got a “permission denied” message and the items disappeared from the dashboard.

    Mail logs were completely inaccessible to everybody.

    I tried disable/re-enable but found no change.

    I did not want to uninstall as I could not remember what the cleanup setting did.

    I managed to manually edit the wpml_settings item in wp_options to reset the permission to the default manage_settings and it started working properly again.

    I repeated the process on a test system in staging mode and basically repeated the problem. This time setting capability to “manage_woocommerce” resulted in a test account with shop-manager role getting access to the mail log. Then I tried setting capability to edit_store_order and it broke again.

    I have installed the “user role editor” plugin to confirn that both store manager and Administrator have all the capabilities mentioned.

Viewing 1 replies (of 1 total)
  • Plugin Support Dake

    (@dakeg)

    Hi @cameronbq

    As mentioned in your other thread, I have shared your feedback with our development team.

    Please note that the custom code in the thread you referenced is not the long-term solution, we are looking into adjusting the behaviour of that field in addition to the feedback that you shared.

    While we are glad you were able to resolve the issue, we are truly sorry for the inconvenience and confusion.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing access permissions blocks admin access’ is closed to new replies.