From: Yasin Date: Mon, 21 Jul 2014 14:24:24 +0000 (+0200) Subject: TEMP FIX: request new authority not denied X-Git-Tag: myslice-1.0~53^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=11159ded728cd2238ab69708a76c103b82bc376d;p=myslice.git TEMP FIX: request new authority not denied --- diff --git a/portal/actions.py b/portal/actions.py index 8b1713e7..3479c02b 100644 --- a/portal/actions.py +++ b/portal/actions.py @@ -252,7 +252,7 @@ def get_request_by_id(ids): def get_requests(authority_hrns=None): print "get_request_by_authority auth_hrns = ", authority_hrns if not authority_hrns: - ## get those pending users who have validated their emails + ## get those pending users who have confirmed their emails pending_users = PendingUser.objects.filter(status__iexact = 'True') pending_slices = PendingSlice.objects.all() pending_authorities = PendingAuthority.objects.all() diff --git a/portal/managementtabrequests.py b/portal/managementtabrequests.py index 850bbc68..6e37f1d4 100644 --- a/portal/managementtabrequests.py +++ b/portal/managementtabrequests.py @@ -133,8 +133,9 @@ class ManagementRequestsView (LoginRequiredView, ThemeView): if auth_hrn in pi_expired_credential_authorities: r['allowed'] = 'expired' if 'allowed' not in r: - r['allowed'] = 'denied' - + ## TEMP FIX for allowing new authority registration + #r['allowed'] = 'denied' + r['allowed'] = 'allowed' if not auth_hrn in dest: dest[auth_hrn] = []