[wp-trac] [WordPress Trac] #16528: delete_users cap should distinguish roles

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 10 21:30:52 UTC 2011


#16528: delete_users cap should distinguish roles
-----------------------------+------------------------------
 Reporter:  linuxologos      |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by scribu):

 The problem with this idea is that it assumes that roles are hierarchical.

 I'm not sure how 'edit_users' distinguishes based on roles. Can't see
 anything in map_meta_cap().

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


More information about the wp-trac mailing list