From cfb2fc60d86e5ae378f3a129d106be6b86cc7a56 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 25 Mar 2024 22:47:37 -0700 Subject: [PATCH] Minor fix on metadata permissions. --- .../src/main/java/com/wisemapping/rest/MindmapController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java b/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java index 4cdbf698..ad510aaa 100644 --- a/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java +++ b/wise-api/src/main/java/com/wisemapping/rest/MindmapController.java @@ -82,7 +82,7 @@ public class MindmapController extends BaseController { @RequestMapping(method = RequestMethod.GET, value = "/{id}/metadata", produces = {"application/json"}) @ResponseBody public RestMindmapMetadata retrieveMetadata(@PathVariable int id) throws WiseMappingException { - final Account user = Utils.getUser(true); + final Account user = Utils.getUser(false); final Mindmap mindmap = findMindmapById(id); final MindMapBean mindMapBean = new MindMapBean(mindmap, user);