TEMP FIX: request new authority not denied
authorYasin <mohammed-yasin.rahman@lip6.fr>
Mon, 21 Jul 2014 14:24:24 +0000 (16:24 +0200)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Mon, 21 Jul 2014 14:24:24 +0000 (16:24 +0200)
portal/actions.py
portal/managementtabrequests.py

index 8b1713e..3479c02 100644 (file)
@@ -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()
index 850bbc6..6e37f1d 100644 (file)
@@ -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] = []