Closed (won't fix)
Project:
OG User Roles
Version:
6.x-4.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Aug 2011 at 10:34 UTC
Updated:
4 Dec 2011 at 22:53 UTC
Jump to comment: Most recent file
Drupal 6.0
adding support for detecting group context (for example - this is an issue with OG Forums or whatever modules that load later on in the process of modules bootstrapping).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | og_user_roles-add_context_support-1250662-1.patch | 663 bytes | lirantal |
| #1 | og_user_roles-add_context_support-#1250662-#1.patch | 742 bytes | lirantal |
Comments
Comment #1
lirantal commented(This is ofcourse something also related to OG itself of detecting context but since OGUR is implementing it's own then it applies here too)
Please see patch and apply.
Comment #2
lirantal commentedActually, here's a fix to the former patch which is a safer method of just getting correctly the url segment.
Comment #3
sunThis function is a copy of the original og_determine_context()
http://drupalcode.org/project/og.git/blob/refs/heads/6.x-2.x:/og.module#...
og_user_roles won't diverge from the original. The copy is only required to make the privilege escalation possible (see code comments).