Today I upgraded from 4.6 to 4.7 and everything looked fine. However, when I logged out I discovered that all anonymous users were getting access denied errors. I came across a page that dealt with an error that initially looked like my problem:
http://drupal.org/node/12757 ("Access denied" but Permissions set properly)
However, I tried all the solutions suggested there without success.
After many hours of trying various solutions, I realised that the new bootstrap.inc assumes that the rid for the anonymous user is 1:
// these values should match the'role' table
define('DRUPAL_ANONYMOUS_RID', 1);
define('DRUPAL_AUTHENTICATED_RID', 2);
While the note suggests that values can be changed if necessary, how who don't happen to open the bootstrap file discover this? This is a small, but significant modifcation of bootstrap.inc from 4.6, but I didn't find it listed anywhere in documentation, upgrade suggestions or other pages. Am I missing something?
It seems like this detail should perhaps this should be added to the migration documenation.