- 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:
@@ -45,7 +45,7 @@
|
||||
options.readOnly = true;
|
||||
|
||||
// Configure persistence ...
|
||||
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}/document/xml");
|
||||
options.persistenceManager = new mindplot.LocalStorageManager("c/restful/maps/{id}/document/xml${principal!=null?'':'-pub'}");
|
||||
|
||||
// Build designer ...
|
||||
var designer = buildDesigner(options);
|
||||
|
Reference in New Issue
Block a user