[wp-trac] [WordPress Trac] #10201: Switch roles to use single role, and no user-specific caps
WordPress Trac
wp-trac at lists.automattic.com
Tue May 4 01:43:47 UTC 2010
#10201: Switch roles to use single role, and no user-specific caps
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 3.1
Component: Role/Capability | Version: 2.8
Severity: normal | Keywords: early
-------------------------------+--------------------------------------------
Changes (by earthman100):
* cc: earthman100 (added)
Comment:
Out of all the options I see here, it would seem to me that allowing
duplicate user-meta keys, and implementing this the way apljdi has
suggested would make the most sense.
It would reduce the overall load times, create ease of searching for caps,
and would still allow full functionality of assigning multiple roles and
caps to users, and multiple caps to roles. It seems to me that it would
require much less changes to core, and to plugins, to accomodate this.
I've attached a diagram that simplifies the way I see the difference
between the 'old' and proposed way.
Just my two sense, as an active WP developer - Hope this helps!
[[Image(http://earthman.ca/images/rolescaps1.jpg)]]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10201#comment:52>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list