Closed (fixed)
Project:
OG User Roles
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2009 at 08:18 UTC
Updated:
26 Jul 2011 at 21:29 UTC
I am having an issue with the creation of new group nodes with users that have been granted rights via the module and the module only. Drupal responds with an access denied issue when I request the creation of the node. I have flushed my cache with the flush cache setting.
Thanks in advance
Darryl
Comments
Comment #1
sunDo you directly access node/add/foo or do you use the links in the Organic Groups "Group details" block? Only the latter can work.
Comment #2
R4tt3xx commentedVia groups, the create content menu item only appears when I am in the group on a user's profile. After I try and create any type of content that the user is supposed to have access to, I get an "Access Denied" message.
Thanks for the gr8 support so far.
Comment #3
sunok, I will add some tests for this.
Comment #4
R4tt3xx commentedI got it working, my mistake. Sorry for the trouble. Please close this ticket
Comment #5
pdcarto commentednot a bug - closing
Comment #6
aaronbaumanCan you explain how you got it working?
I'm having the same symptoms.
Comment #7
aaronbaumanSolved:
My problem was a conflict with shorturl
shorturl implemented hook_init() and within that function called menu_get_item(), which in turn initiated the access callback for node/add/$foo (node_access) before OGUR roles were initialized.
I'll leave this open -- In case R4tt3xx's solution has wider relevance, it might be nice to share it here.
Comment #8
sunThat was two years ago.