[wp-trac] Re: [WordPress Trac] #5540: User roles overhaul
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 29 02:19:16 GMT 2007
#5540: User roles overhaul
-------------------------+--------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Comment (by tellyworth):
I took a quick stab at a different approach to handling role-capabilitites
in #5541. Roles aren't stored in the database at all, just in memory,
with an action that can be used to define new roles and a filter for
changing the capabilities of existing ones.
It works with or without the user_role patch, and passes all the relevant
unit tests.
It would work well with the multiple-roles approach to deprecating user-
caps that I outlined above.
--
Ticket URL: <http://trac.wordpress.org/ticket/5540#comment:17>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list