Custom post type needs to capability to create and edit by some specific user role

See if this article, which I published last year, helps.