Changeset 5ba57a in indico


Ignore:
Timestamp:
02/15/12 15:38:48 (15 months ago)
Author:
Alberto Resco Perez <alberto.resco.perez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
f93fea
Parents:
d27cb1
Message:

[FIX] Session conveners not managers

  • Add session managers the session slot conveners.
Location:
indico/MaKaC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/conference.py

    rb99720 r5ba57a  
    62446244 
    62456245    def grantModification( self, sb, sendEmail=True ): 
    6246         if isinstance(sb, SessionChair): 
     6246        if isinstance(sb, SessionChair) or isinstance(sb, SlotChair): 
    62476247            ah = AvatarHolder() 
    62486248            results=ah.match({"email":sb.getEmail()}, exact=1) 
  • indico/MaKaC/webinterface/rh/conferenceModif.py

    r3a480c r5ba57a  
    18431843    def _process( self ): 
    18441844        for ses in self._target.getSessionList(): 
    1845             conveners = ses.getConvenerList() 
    1846             for convener in conveners: 
    1847                 ses.grantModification(convener,False) 
     1845            for slot in ses.getSlotList(): 
     1846                for convener in slot.getConvenerList(): 
     1847                    ses.grantModification(convener,False) 
    18481848        self._redirect( urlHandlers.UHConfModifAC.getURL( self._target ) ) 
    18491849 
Note: See TracChangeset for help on using the changeset viewer.