Hi:

I get an error when a user tries to access a node signup page (module signup) having the right permissions for his role in that group
The URL is node/1/signups

I've changed

if (arg(0) == 'node' && is_numeric(arg(1)) && (arg(2) == 'edit' || arg(2) == 'outline' || arg(2) == 'track' || arg(2) == 'results' || arg(2) == 'access' || arg(2) == 'modr8' || arg(2) == 'ogmodr8' || arg(2) == 'delete' || arg(2) == 'galleries' || arg(2) == 'email' || arg(2) == 'revisions')) {

with

if (arg(0) == 'node' && is_numeric(arg(1)) && (arg(2) == 'edit' || arg(2) == 'outline' || arg(2) == 'track' || arg(2) == 'results' || arg(2) == 'access' || arg(2) == 'modr8' || arg(2) == 'ogmodr8' || arg(2) == 'delete' || arg(2) == 'galleries' || arg(2) == 'email' || arg(2) == 'revisions' || arg(2) == 'signups')) {

in og_user_roles_all_roles and works fine...

A little change, sorry for not sending the patch :-)

Thanks.-

Comments

somebodysysop’s picture

Status: Active » Reviewed & tested by the community

This will be committed to next release. Thanks!

somebodysysop’s picture

Version: 5.x-2.6 » 5.x-2.7
Assigned: Unassigned » somebodysysop
Status: Reviewed & tested by the community » Fixed

This patch code now in latest OGR release.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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