I log in as an administrator. All is fine. I view a page of a certain content type. Fine. When I click on the "Edit" tab, I immediately get an "Access Denied" error. If I refresh the page, the editing form appears fine. I can repeat this as many times as I want, just by clicking on the "View" and then "Edit" tabs.
Perplexingly, this only happens for certain content types, not others.
If I enable shib debugging, I see that when I get "Access Denied", the session variable looks like this:
$_SESSION:
Array
(
[shib_auth_username] => [my username]
[shib_auth_rolecache] => Array
(
[3] => administrator
[1] => anonymous user
[2] => authenticated user
)
)
But when I refresh and am allowed access, it looks like this:
$_SESSION:
Array
(
[shib_auth_username] => [my username]
[shib_auth_rolecache] => Array
(
[3] => administrator
[1] => anonymous user
[2] => authenticated user
)
[shib_auth_authentication] => shib_auth
[shib_auth_rolelog] => 1
)
Also, when I am denied access, there is no $user
variable in the debug variables, but when I refresh the page $user
is there.
Comments
Comment #2
gramie CreditAttribution: gramie commentedUsing the patch for Session not generated on the first redirect to Drupal, I was able to resolve this problem.
Comment #3
misilot CreditAttribution: misilot commentedHi, I was wondering if there was any movement on this? I tried all the patches and was still not able to get it to work with editing Content. I am able to modify all the site configuration, just not edit pages.
I am running Drupal 7.67 and shib_auth module version 7.x-4.4
Thanks!