"authenticated user" not recognizing all roles

slb534 - June 26, 2008 - 15:24
Project:node privacy byrole
Version:5.x-1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

I have a page where the "View" permission is granted to "authenticated user". However, when one of my users logs in, he gets "Access Denied". I was able to correct the problem by granting "View" permission to his specific role, but, I thought that by having "authenticated user" this would automatically let *any* user view the page, regardless of the specific role they are in. Is this a bug? I was thinking that having "authenticated user" checked on, that this should override the fact that his specific role hadn't been checked on. But, someone please let me know if I misunderstood, and thanks for looking into this! :)

#1

deekayen - June 26, 2008 - 23:19

If what you describe is reproducible, then that indeed sounds like a bug. It'll be a couple days before I can get to it.

#2

deekayen - July 10, 2008 - 21:46
Category:bug report» support request
Status:active» postponed (maintainer needs more info)

I'm not able to reproduce your problem so far on 6.x.

The first is the Administer > User management > Permissions screen. The second is the node, but this is generally how the permissions are expected to behave:

access content & view: ok
!access content & view: denied
access content & !view: denied
!access content & !view: denied

One example of a the minimum permission mix you could have is to give the leave authenticated without access content permission, grant it to the test role, and then grant the node authenticated user view permission. The goal is for the combination of permissions to total having both access content and view in some way.

Is there any more detail on the roles for that user you could reveal related to global access content and the node view permissions?

#3

cYu - February 13, 2009 - 18:30
Status:postponed (maintainer needs more info)» fixed

Also unable to reproduce this problem. Granting for Authenticated User is producing expected results.

#4

System Message - February 27, 2009 - 18:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.