[wp-trac] [WordPress Trac] #21463: capability inconsistency

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 4 01:49:23 UTC 2012


#21463: capability inconsistency
--------------------------+-----------------------------
 Reporter:  eternalsword  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.4.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 1) Users without publish capability see Add New links even though they
 can't access post-new.php

 2) Users require 'edit_posts' permissions to view editing area for custom
 post type with capability_type of $post_type even though they have
 "edit_{$post_type}s" capability.

 I have a patch which resolves both issues.  Let me know if I should break
 apart into two bugs/patches.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21463>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list