Ignore:
Timestamp:
03/03/10 18:53:11 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 4c7d4152dff271ba5df5a8606605969cab454080
Children:
d66f12
Parents:
921f9f
git-author:
David Martín Clavo <david.martin.clavo@…> (02/12/10 16:23:25)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (03/03/10 18:53:11)
Message:

[FIX] Several minor Collaboration fixes

-Removed global Collaboration imports
-Redirect unlogged users to login page in some
cases where they were not.
-Redirect Video Services Admins to VideoServices?
tab if they are not Server Admins or Event Managers.
-Bug in display page of event if plugin is
deactivated after a booking of that plugin has been made.
-Missing default CSBooking._hasTitle
-Missing default CSBooking._complexParameters (so
that pylint does not complain).

-fixes #169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/wcomponents.py

    r2ff37a r939a69  
    2121 
    2222from MaKaC.plugins.base import PluginsHolder 
    23 from MaKaC.plugins.Collaboration.collaborationTools import CollaborationTools 
    2423 
    2524import os,types,string 
     
    369368            if PluginsHolder().hasPluginType("Collaboration"): 
    370369                from MaKaC.webinterface.rh.collaboration import RCCollaborationAdmin, RCCollaborationPluginAdmin 
     370                from MaKaC.plugins.Collaboration.collaborationTools import CollaborationTools 
    371371                if (self._currentuser.isAdmin() or RCCollaborationAdmin.hasRights(user = self._currentuser) or RCCollaborationPluginAdmin.hasRights(user = self._currentuser, plugins = "any")) and CollaborationTools.anyPluginsAreActive(): 
    372372                    adminItemList.append({'url': urlHandlers.UHAdminCollaboration.getURL(), 'text': _("Video Services Overview")}) 
Note: See TracChangeset for help on using the changeset viewer.