alex11/wordpress-plugins — pull request #1 by mnelson4 (2013-06-21 06:51:49+00:00)
Title: Adding Custom Post Type Capabilities by default

When a custom post type is registered, and it has custom capabilities, those capabilties get added to the caps that can be edited within this plugin by default.
Also, in order for that to work properly, admins need to be able to edit admin capabilities (otherwise they can be missing capabilities in regards to custom post types)