[wp-trac] [WordPress Trac] #14387: current_user_can returns false for roles "higher" than built-ins

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 22 20:29:58 UTC 2010


#14387: current_user_can returns false for roles "higher" than built-ins
-----------------------------+----------------------------------------------
 Reporter:  sbressler        |        Owner:         
     Type:  defect (bug)     |       Status:  closed 
 Priority:  normal           |    Milestone:         
Component:  Role/Capability  |      Version:         
 Severity:  normal           |   Resolution:  invalid
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by sbressler):

 Roles by default are absolutely hierarchical, and that's what I'm banking
 on. Sure, users can remove edit_others_posts from editors, but I'm fine
 with assuming that they won't. While roles can be customized so that
 they're not hierarchical, they certainly are to begin with.

 To continue the conversation of my specific issue, I create a support
 topic on wp.org so that I don't clutter Trac with my questions:
 http://wordpress.org/support/topic/427551. Would appreciate your feedback.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14387#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list