Fixes issue 697.
authorDaniel Hans <Daniel.M.Hans@gmail.com>
Sun, 25 Oct 2009 11:59:05 +0100
changeset 3037 4e734bc7b227
parent 3036 c703f3802841
child 3038 34eeacafc5dc
Fixes issue 697.
app/soc/modules/ghop/views/models/organization.py
--- a/app/soc/modules/ghop/views/models/organization.py	Sat Oct 24 15:14:11 2009 -0700
+++ b/app/soc/modules/ghop/views/models/organization.py	Sun Oct 25 11:59:05 2009 +0100
@@ -259,7 +259,7 @@
           "List Documents", 'any_access')
       submenus.append(submenu)
 
-    if roles.get('org_admin'):
+    if roles.get('ghop_org_admin'):
       # add a link to the resign page
       submenu = (redirects.getManageRedirect(roles['ghop_org_admin'],
           {'url_name': 'ghop/org_admin'}),