Changeset 4aefab in indico


Ignore:
Timestamp:
05/11/12 17:48:28 (12 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
96cf0c
Parents:
610ce4
git-author:
Jose Benito <jose.benito.gonzalez@…> (05/10/12 15:14:08)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (05/11/12 17:48:28)
Message:

[IMP] Grant submission rights better perf

Location:
indico/MaKaC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/conference.py

    rd63ee9 r4aefab  
    94659465        if isinstance(sb, ContributionParticipation) or isinstance(sb, SubContribParticipation): 
    94669466            ah = AvatarHolder() 
    9467             results=ah.match({"email":sb.getEmail()}, exact=1) 
     9467            results=ah.match({"email":sb.getEmail()}, exact=1, forceWithoutExtAuth=True) 
     9468            if not results: 
     9469                results=ah.match({"email":sb.getEmail()}, exact=1) 
    94689470            r=None 
    94699471            for i in results: 
  • indico/MaKaC/user.py

    rcde8e0 r4aefab  
    15391539                if not authId == "Local": 
    15401540                    dict = euh.getById(authId).match(criteria, exact=exact) 
    1541                     if authId == "Nice": 
    1542                         auth = NiceAuthentication.NiceAuthenticator() 
    1543                     elif authId == "LDAP": 
    1544                         auth = LDAPAuthentication.LDAPAuthenticator() 
    1545                     else: 
    1546                        raise MaKaCError( 
    1547                            _("Authentication type " + authId + " is not known.")) 
    15481541                    for email in dict.iterkeys(): 
    15491542                        # TODO and TOSTUDY: result.keys should be replace it with 
     
    15581551                                    # TODO: check if same can happen with emails 
    15591552                                    # if auth.hasKey(dict[email]["login"]): 
    1560                                       # av = auth.getById(dict[email]["login"]).getUser() 
     1553                                    #    av = auth.getById(dict[email]["login"]).getUser() 
    15611554                                    result[email] = av 
    15621555                            else: 
Note: See TracChangeset for help on using the changeset viewer.