Visiting the node for a group (node/[nid]) redirects to [group-purl]/node/[nid] instead of just [group-purl], and then results in a 403 Access Denied. Links directly to the node for a group can occur while searching for a group.

Comments

thrnio’s picture

Status: Active » Needs review
StatusFileSize
new834 bytes

Attached is a patch adapted from https://community.openatrium.com/issues/node/3229

hefox’s picture

Status: Needs review » Needs work
StatusFileSize
new2.54 KB

Here's a patch addressing the varies times it needs to redirect (router wasn't called when already in space so purl/node/nid didn't redirect, so _init :/).

I feel like it's not quite right yet so marking needs work till I talk to it to someone else. (feel like missing some use case)

hefox’s picture

(previous patch causes drush to break, this patch depends on #982708: Redirect breaks drush

arrubiu’s picture

I've the same problem with versione 6.x-3.4.
I saw that the patch is for versione 3.2, I've 3.4, I tried to apply it manually but it doesn't work.
If I try, from anonymous, to go to "content/title-article" I'm redirected to "group/content/title-article" and I obtain an "Access denied" page.