The message "You do not have permission to access this content." is being issued as a result of the logic in wp-content/plugins/civicrm/includes/civicrm.users.php
. This file is new in 4.6. A variable $invalidPaths
is being used in an unexpected way.
public function check_permission( $args ) {
if ( $args[0] != 'civicrm' ) {
return FALSE;
}
$config = CRM_Core_Config::singleton();
// set frontend true
$config->userFrameworkFrontend = TRUE;
require_once 'CRM/Utils/Array.php';
// all profile and file urls, as well as user dashboard and tell-a-friend are valid
$arg1 = CRM_Utils_Array::value(1, $args);
$invalidPaths = array('admin'); // So what is this for? Denying admin some rights? Why?
if ( in_array( $arg1, $invalidPaths ) ) {
return FALSE;
}
return TRUE;
}
I don't know what was intended, but I interpret it to mean "if you're admin you're not authorized" - which is the opposite of what one would normally expect. If you invert the logic or replace the array containing 'admin' with an empty array you get to see your checklist (at your own risk :))
I haven't tested to see if there are any adverse side effects of doing that and I don't know yet if this is an important bug.