When configuring a block, if I select only "anonymous user" in the role specific visibility settings area, the block is displayed to anonymous AND authenticated users.
I was expecting that if the "anonymous user" is the only box checked, (and that "authenticated user" and all other role boxes are left unchecked) then this block should only be visible to anonymous users and NOT shown to logged-in (ie authenticated) users.
There is a multitude of php code snippets around which provide workarounds for this problem, however it occurs to me that this is actually a bug.
Extra information:
Drupal version: 6.16
PHP version: 5.2.13
Comments
Comment #1
petey318 commentedok... on further investigation (and for the benefit of anyone reading this), it is another module which is causing the problem. I am running a dev version of the Premium module and this appears to be causing the problem. (see #642392: full node access control, hide cck fields, multiple roles and msg per role)
If I disable that module, then the "anonymous user only" block behaves exactly as it should.
So, I'll be picking this up in another issue queue!