- Fix security issues when the map is loaded from the rest service. Two URL has been defined for each type of access.

This commit is contained in:
Paulo Gustavo Veiga
2013-02-07 21:44:20 -03:00
parent 6e2880c8cc
commit 5d05f21803
8 changed files with 13 additions and 14 deletions

View File

@@ -77,7 +77,7 @@
options.readOnly = true;
// Configure loader ...
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}/document/xml.xml");
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}/document/xml${principal!=null?'':'-pub'}");
// Build designer ...
var designer = buildDesigner(options);