• Carlos Blázquez

    (@carlosblazquez4global)


    Hi!

    Shop managers can add tracking data to orders, and there they are shown a link to “Update carriers list”. However, clicking on the link displays a lack of permissions error.


    We have tried to fix the problem by adding the ‘manage_aftership’ capability to the ‘shop_manager’ role (as we show you do to administrator role); but it is not effective because to view and update the plugin settings the user must actually have the ‘manage_options’ capability which should be reserved for administrators.

    Therefore, in addition to adding the custom capability to the shop manager role, you would have to modify the management controllers and views so that they chek that the user has the custom ‘manage_aftership’ capability instead of the generic ‘manage_options’.

    We hope you find this proposal useful.

    Best regards!

  • The topic ‘Allow settings management to shop managers’ is closed to new replies.