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

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Do you directly access node/add/foo or do you use the links in the Organic Groups "Group details" block? Only the latter can work.

R4tt3xx’s picture

Via 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.

sun’s picture

Title: Question regarding node creation » Ensure node creation works as expected
Component: User interface » Code
Category: support » task
Status: Postponed (maintainer needs more info) » Active

ok, I will add some tests for this.

R4tt3xx’s picture

I got it working, my mistake. Sorry for the trouble. Please close this ticket

pdcarto’s picture

Status: Active » Closed (fixed)

not a bug - closing

aaronbauman’s picture

Category: task » support
Status: Closed (fixed) » Active

Can you explain how you got it working?
I'm having the same symptoms.

aaronbauman’s picture

Solved:
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.

sun’s picture

Status: Active » Closed (fixed)

That was two years ago.