def conferencePluginManagementURL(cls, obj, params): conf = params['conf'] secure = params['secure'] return UHConfModifCollaboration.getURL(conf, secure=secure)
def fillManagementSideMenu(cls, obj, params={}): csbm = Catalog.getIdx("cs_bookingmanager_conference").get(obj._conf.getConference().getId()) if csbm is not None and csbm.isCSAllowed(obj._rh.getAW().getUser()) and \ (obj._conf.canModify(obj._rh.getAW()) or RCVideoServicesManager.hasRights(obj._rh._getUser(), obj._conf, 'any') or RCCollaborationAdmin.hasRights(obj._rh._getUser()) or RCCollaborationPluginAdmin.hasRights(obj._rh._getUser(), plugins='any')): params['Video Services'] = wcomponents.SideMenuItem(_("Video Services"), UHConfModifCollaboration.getURL(obj._conf, secure=obj._rh.use_https()))