Closed (fixed)
Project:
OG User Roles
Version:
5.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Dec 2007 at 00:28 UTC
Updated:
24 Jan 2008 at 20:22 UTC
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
Comment #1
somebodysysop commentedThis will be committed to next release. Thanks!
Comment #2
somebodysysop commentedThis patch code now in latest OGR release.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.