[Cartoweb-users] hidding a security layer in switch dropdown

Oliver Christen oliver.christen at camptocamp.com
Tue Mar 17 05:27:39 EST 2009


mmm, did you try with your layerreorder plugin deactivated to see if it's not once again a side effect ?
  ----- Original Message ----- 
  From: Dahinden Adrian 
  To: cartoweb-users at lists.maptools.org 
  Sent: Friday, March 13, 2009 5:40 PM
  Subject: [Cartoweb-users] hidding a security layer in switch dropdown


  Hi list

  Does anybody know, how I can hide a Layer in a switch-dropdown?
  Now the layer is not available, but still visible in the dropdown. The layer should only be visible when the legitimate user is logged in. The definitions in the layers.ini file:

  switches.switch1.label = LK Abwasser

  layers.Kartenvorwahl_Gemeinden.className = LayerGroup
  layers.Kartenvorwahl_Gemeinden.children.switch1 = LK_Abwasser
  layers.Kartenvorwahl_Gemeinden.label = Kartenvorwahl_Gemeinden

  layers.LK_Abwasser.className = LayerGroup
  layers.LK_Abwasser.label = LK_Abwasser
  layers.LK_Abwasser.children = LK_Abwasser_Uebersicht, LK_Abwasser_Daten
  layers.LK_Abwasser.rendering = tree
  layers.LK_Abwasser.metadata.security_view = lk_abwasser

  Thanks very much for any hints.

  Regards 
  Adrian Dahinden
   
  ********************************************
  Dütschler & Naegeli
  Vermessung + Geoinformation AG
  Fliederweg 11, Postfach
  3601 Thun
   
  Telefon 033 / 225 40 50
  Fax     033 / 225 40 60
   
  mailto:a.dahinden at geo-thun.ch
  http://www.geo-thun.ch
  ********************************************



------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20090317/ed92e193/attachment-0001.htm 


More information about the Cartoweb-users mailing list