[wp-trac] Re: [WordPress Trac] #9575: Can't access profile.php:
Unauthorized
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 18 09:37:29 GMT 2009
#9575: Can't access profile.php: Unauthorized
-------------------------------+--------------------------------------------
Reporter: deziiner | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Unassigned
Component: Role/Capability | Version: 2.7.1
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+--------------------------------------------
Comment(by Denis-de-Bernardy):
I see this happen often when sharing users tables between installs. The
reason usually goes down to users being created on one site, with the
default role. But no roles on the other -- and they cannot access any page
in the admin area as a result.
I had opened a separate ticket for this. I can't remember which one, but
basically the suggested fix was to check, when a user was loaded, for a
role. And if none was present, to assign the default role to that user.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9575#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list