[wp-trac] [WordPress Trac] #9339: Use default role when none is set
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 15 15:15:59 GMT 2009
#9339: Use default role when none is set
-------------------------------+--------------------------------------------
Reporter: Denis-de-Bernardy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.7.2
Component: Users | Version: 2.7
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
While playing with BBPress and trying to make it integrate with WP, I ran
into a bug.
Basically, user registers through BBPress, then tries to log into WP, and
gets an error in the dashboard: Not enough permissions.
Reason is obvious: he has no role defined. Only after logging into BB does
his role get set. That's fine in some cases, but not always. For instance,
I've two sites that share the database's users table, and I'd like to have
different roles for newly created users on the two sites (in the members'
area site, they're subscribers; on the other site they're contributors).
The expected behavior would be for WP to check, whenever a user logs in,
whether that user has a role. And, if that users has no role, he should be
assigned the default role.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9339>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list