Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Allowing non-admins to manage custom type taxonomies/categories
02/03/2023 at 09:40 #8196
Our site has evolved to have more custom contents (CPT). Some new taxonomies (categories) are associated with them, outside the native taxonomies from posts.
We have realized somes roles we created seem to have lost the ability to edit those taxonomies associated with custom types.
Because that taxonomy is required, users cannot save nor publish new content…
Oddly enough, people connected with that role can indeed see those taxonomies on the right handside, but in a “read-only” (greyed-out checkboxes) mode.
There seems to be no related checkoxes in our roles to allow their edition (unlike an “Edit categories” in the standard Posts section).
Could this be related to the “Force custom post types to use their own capabilities” option we checked to solve another issue we had, which was that all roles had the same access to all contents, whereas we need some to only see specific custom types ?
I have seen similar issues in this forum but no answer that seemed to solve mine.
Thanks.02/03/2023 at 11:04 #8197
Edit: Confirmed through tests that unchecking the “Force custom post types to use their own capabilities” gives everybody back the option to manage CPT Categories. However it also means each and every role has access to all contents types, and that editing a permission for a specific contents type give the same one on every CPT. Made to work like this when the option above is not checked, but an issue for us.
Did I overlook a way to have specific roles edit custom types categories ? Else how to solve this ?
Thanks.08/03/2023 at 15:25 #8202
Is this the most efficient way to ask for support ? Could not find any other mean in our account, full licence paid.
Thanks.20/03/2023 at 03:59 #8225VladimirKeymaster
For example you have CPT ‘staff’. With the “Force custom post types to use their own capabilities” option turned ON, it’s custom term related permissions are changed to
‘assign_staff_terms’ – allow to select category checkboxes at the CPT edit page
‘edit_staff_terms’ – allow to use ‘Add new category’ link at the custom categories meta box.
Try to find these capabilities between ‘Custom capabilities’ group and grant to a selected role.
- You must be logged in to reply to this topic.