Define Post Type Capabilities for products & orders

dampfpunks

28 May, 2012 06:18 PM via web

Hi there,

I found several posts here on user & role capabilities regarding the management. We ourselves run into the problem that we cannot define roles with several capabilities regarding posts, products and orders.

The solution to this is pretty simple: When the custom post types are created the 'capability_type' has to be set to a individual one and not just 'post'. Not to forget to set the roles initially for the admin.

Problem is that the plugin lost the ability to update without interference.

Regards,
Florian

  1. Support Staff 2 Posted by Matt on 28 May, 2012 09:32 PM

    Matt's Avatar

    Problem is that the plugin lost the ability to update without interference.

    Sorry could you explain that bit there? And I see what you mean about us setting capability_type to just post. We'll have to think of some nice way to set roles, it's something that I want to get in for 1.3.

  2. 3 Posted by Florian Fiegel on 29 May, 2012 03:56 PM

    As of now we can't update the plugin without a manual intervention. As we fixed this by directly manipulating the code of the plugin.

    What do you mean of a nice way to set the roles?

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.