[wp-trac] Re: [WordPress Trac] #10201: Switch roles to use single
role, and no user-specific caps
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 18 16:01:58 GMT 2009
#10201: Switch roles to use single role, and no user-specific caps
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner: Denis-de-Bernardy
Type: enhancement | Status: accepted
Priority: normal | Milestone: 2.9
Component: Role/Capability | Version: 2.8
Severity: normal | Keywords: 2nd-opinion
-------------------------------+--------------------------------------------
Comment(by ryan):
> - roles and their caps are stored as a serialized array in the options
table
We should retain the ability to define the roles array in memory.
Currently WP_Roles checks for a global, $wp_user_roles, and uses that if
defined. WP_Roles should abstract storage so the options table, the site
options table, memory, or whatever can be used.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10201#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list