When adding a custom post type using the "capability_type" argument, custom capabilities are automatically generated for the post type.
https://developer.wordpress.org/reference/functions/register_post_type/#capability_type
Ie registering a post type named "cars"
'capability_type' => array('cars', 'car')
Automatically generates 'edit_cars', 'delete_car' etc.
Afterwards, these capabilities can be added to a custom user role to control their access and permissions. So far so good.
But.. Isn't the administrator role supposed to have all capabilities including custom ones per default?
When using the above approach, my admin users loses their permission to edit the post type in question.
What is the correct approach here? Should all custom caps be added to admin role manually like they are added to other roles?
TIA