• Resolved xfire0384

    (@xfire0384)


    Hi,

    I have created a couple of custom roles, but one of the roles needs to have read access to the Stripe Payments orders (/wp-admin/edit.php?post_type=stripe_order).

    In the Members > Edit Roles area, there is something that says “Orders”, however, the only text there is “False” and checking either Grant or Deny does nothing and gets cleared after the settings are saved and the page refreshes itself.

    I was trying to add a Custom Capability, but A) I am doing something wrong or B) Something else is going on as it’s not working. I was using ‘edit.php?post_type=stripe_order’ as the custom capability.

    Any ideas? Or documentation on Custom Capabilities (I haven’t been able to find anything).

Viewing 1 replies (of 1 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @xfire0384

    Keep in mind that our plugin doesn’t have a section for each plugin. Plugin authors can add admin areas using any capability they want, including custom capabilities. If you know which capabilities are required to access that specific area, you can assign those capabilities to a user/role.

    Also, many plugins create admin settings pages using a native capability associated with administrators, such as manage_options so in that case, you need to contact the plugin author.

    Regarding custom capabilities, we don’t have documentation about it, but adding it doesn’t do much without using it somewhere in your code. What I mean is that what happens with those things is determined other ways. So restricting content for those roles and capabilities, for example, would need to be done with code or some other plugin.

    Best

Viewing 1 replies (of 1 total)
  • The topic ‘Issue with Plugin: Accept Stripe Payments’ is closed to new replies.