Permission denied when adding new module

From MapbenderWiki

Jump to: navigation, search

Mapender >= V 2.1 implements a new security feature. Permission of the user are checked prior to saving a GUI Element. That way users can only add GUI Elements they already have permission to use.

This tightening of security is mainly important for Mapbender Portal operation and multi-subscriber capability. To add a completely new module the path has to be included 'manually' (using SQL) into the database and a GUI. THis is somewhat awkward but the only way to ensure tight security.

Standalone und test installations

If Mapbender is not operated in portal mode this feature can be turned off by setting the variable '$check' = false. Every user with permission to use the module 'mod_editElements.php' can add new.

To add new modules at will, edit the module 'mod_editElements' (php folder) and change a variable to false:

$check = false

In Mapbender >= 2.4(?) this Variable is set in Mapbender.conf


German version:

'Permission denied' beim Hinzufügen neuer Module

Views
Personal tools