I'm using access in a site with Toolset and WC.
I have created a new role (Alain admin) that normally have the same rights than administrator (I have used administrator as the duplicated role for this new one).
Now, when I'm in the backend with this new role, I'm not able to seen in the left column, some tabs like orders, products, and in general, all postypes created with Toolset.
Perhaps I have to give you some additional info :
- I have created this new role to offer my client the ability to access the backend of the site with a minimum of options (use of adminimize plugin). All that is related below is made without this plugin in order to make sure that we discuss only of Toolset issues.
- Now, if I log into the backend with my client account, I can see all WordPress standard tabs in the left, but some are missing :
For example, in WC, I'm not able to access to the orders or have the product listing
And, in addition, all postypes created with Toolset (ie : Adhésions, Ins enseignements, Ins conférences, Ins Sorties ...) are nos visible.
You can see the differences between the 2 roles in the backend thanks to the file toolset-backend-role-delta.jpg
Concerning the role created (Alain-admin), I have checked that he has the same access rights (in Toolset acces role tab) than the administrator role.
Last point is that I have checked how the different postypes were managed within Access. Only the Pages postype is managed by access. The others are nor managed by Access. I have tried to make Products managed by access and the product list is now seenable in the Alain-admin backend !
Does that means that if a postype is not managed by access, the created roles cannot see them in the backend, even if they have the highest access rights?
I will need to do a more detailed check on this site for you to check the user role itself. As you say you've copied over the admin right from the default administrator role so you should be able to see exactly what the default admin does.
Could you provide admin access to the site so that I can check on this for you ?
Thanks for coming back.
Unfortunately, the site is in production and I cannot give you access. Is there something else I can do to help you to better understand what could cause the issue?
Have you made this kind of configuration in one of your test site?
I find that manually setting the permissions for each of the CPT allows the custom user role to access them.
So if you go to Toolset -> Access Control and set each of the CPT to be managed by access you will see them starting to show up on your custom user role.
Please try this on your end and let me know as this works fine for me on your website copy.
Thanks for taking care.
I'm agree and I have also mentioned that in one of my first answer.
So, I have a kind of turnaround there.
Now, I would like to know why this is not working if you don't use Access to manage the postypes (even postypes that are not created by Types like products are not seenable by this new role?).
Does that means that as soon as Access is in function, it blocks all postypes for new created roles and you have to manually give permission to all postypes in order these new roles have access to them?
For further clarity on this, it seems in your case you will need to set the permissions on the Post Types.
What should happen and this is what happens in my testing is that whenever I create a new role as a clone of the Admin then the all the CPT shows up fine on that new role without me setting up the permissions.
Not sure what is happening on your end but you will need to setup your permissions as a workaround for this issue.