Delete posts
-
Hi, I have the following Problem:
My Editors cant delete posts of the CPT because they dont have the rights for it, how can I change that?
Thank you in advance!
-
Did you change the “capabilities” spot away from “post” for the post types in question? If yes, easiest thing to do would be to change that back.
No, I didn´t
Have you customized user roles/capabilities at all? Beyond that, I believe the “Editor” role should be able to delete the posts in the post type. So something is definitely going on.
I didn´t change any roles/permissions
If you provide the export code from CPTUI > Tools > Post Types tab, I can import and see if I can recreate the issue on my own install, but beyond that, I’m not sure what may be going on with this, and I don’t have access to the install to poke around for other clues.
{“werbung”:{“name”:”werbung”,”label”:”Werbung”,”singular_label”:”Werbung”,”description”:”Werbung schalten”,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”has_archive”:”false”,”has_archive_string”:””,”exclude_from_search”:”true”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”false”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:””,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:null,”register_meta_box_cb”:null,”supports”:[“title”,”editor”,”thumbnail”,”author”],”taxonomies”:[],”labels”:{“menu_name”:”Werbung”,”all_items”:”Alle Werbungen”,”add_new”:”Neue Werbung”,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_scheduled”:””,”item_updated”:””},”custom_supports”:””,”enter_title_here”:””}}
As is, I’m not managing to recreate any issue with an “editor” user role and deleting content from the post type using the settings above. So I’m not sure what may be going on or why at the moment.
Have there been any major changes that happened with the site, perhaps right before this issue was noticed?
installed the plugin set it up and that’s it
I don’t have any new leads or ideas for what’s going on, and not able to recreate on my own, so I’m not sure what to suggest at the moment. Something is definitely going on but it’s feeling very specific to your site alone.
Did you ever figure this one out @maxschriebl ?
The topic ‘Delete posts’ is closed to new replies.