[Mapbender-users] Differences for reading Element Vars with different users ?

Michael Schulz mschulz at webgis.de
Mon Oct 20 05:07:53 EDT 2008


Hi Karsten,

all queries to the underlying database are done by the db user defined
in mapbender.conf. This has nothing to do with the "root" user in
Mapbender. So this is not a problem of rights to mapbender database
tables.

- Are you sure that user root and the regular user are accessing the
same gui with the same gui_element and element_var defined?
- Make sure that in mapbender.conf the the module security check is turned off.
- Check your log file, if there is anything logged that might be
related (and maybe post it).

Cheers, Michael


2008/10/20 karsten vennemann <karsten at terragis.net>:
> Hi All,
>
> I have a little strange behavior with different users and Element Vars that
> I created for the treeGde element for a GUI (mapbender version 2.4.4).
> I extended the tree gde behavior to have conflicting layers (i.e when a
> layer is switched on all conflicting layers are switched off automatically).
> I have an array of element vars that define the name of conflicting
> layers...
> That is working fine if I use the "root" user. However, if I log into the
> application as a different (regular) user the value for the element var is
> not defined (as I can check in firebug). So I think this must be some
> internal user rights setting which I can't quite explain ...all tables in
> pgsql belong to pgsql user...
>
> Could anybody shed some light on this on what might be different internally
> by MapBender retrieving a Element Vars value for the pgsql table if logged
> in as different users ?
> And how I can fix this to be able the values (stored in gui_element_vars)
> for all users?
>
> I'm absolutely stuck here and any hint is welcome...
> Cheers
> Karsten
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>



-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------
Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg


More information about the Mapbender_users mailing list