I'm headed for an ulcer over this one. In my profiles, I have a field for the user type (Staff, Consultant, etc). "View user profiles" and "View any profile" are both granted to authenticated users. Users who do not have "Administer users" permission get access denied viewing any other user who is not "Staff." But they can see "Staff" users without a problem.
Of course I first blamed my own code, so I disabled my custom modules. Still happens. If I disable Profile2, it still gets access denied.
I do have Organic Groups, but not og_profile2, but it shouldn't care about one user over another. And even one user in the same group gets access denied.
Search D.O hasn't helped. Has anyone encountered and solved this?
Nancy
You could try backtracing from the drupal_access_denied and see what is triggering this and then fix.
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
On Wed, Oct 9, 2013 at 10:49 PM, Nancy Wichmann nan_wich@bellsouth.net wrote:
I'm headed for an ulcer over this one. In my profiles, I have a field for the user type (Staff, Consultant, etc). "View user profiles" and "View any profile" are both granted to authenticated users. Users who do not have "Administer users" permission get access denied viewing any other user who is not "Staff." But they can see "Staff" users without a problem.
Of course I first blamed my own code, so I disabled my custom modules. Still happens. If I disable Profile2, it still gets access denied.
I do have Organic Groups, but not og_profile2, but it shouldn't care about one user over another. And even one user in the same group gets access denied.
Search D.O hasn't helped. Has anyone encountered and solved this?
Nancy
-- [ Drupal support list | http://lists.drupal.org/ ]
Did you check the output of debug_backtrace()? Didn't that tell you where the error is coming from?
Thanks Anoop
|-- | Zyxware Technologies | http://www.zyxware.com |-- | Be the change you wish to see in the world, M. K. Gandhi |--
On Thu, Oct 10, 2013 at 2:43 AM, Nancy Wichmann nan_wich@bellsouth.net wrote:
Already tried that. No joy.
Nancy
From: Anoop John
You could try backtracing from the drupal_access_denied and see what is triggering this and then fix.
-- [ Drupal support list | http://lists.drupal.org/ ]