From 31e9f59d8d2d2977ec0ce18022a2590f098afac7 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 20 Sep 2021 00:56:47 +0200 Subject: [PATCH] Move save list subscription permission Move the save list subscription permission to be after the save list permission as these two permissions are logically related to each other and both need to be granted to view the save list in the web interface. --- packages/lib/users.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/lib/users.js b/packages/lib/users.js index 247666c0..4b42425b 100644 --- a/packages/lib/users.js +++ b/packages/lib/users.js @@ -382,6 +382,11 @@ definePermission({ title: "List saves on instance", description: "List the saves currently on the instance.", }); +definePermission({ + name: "core.instance.save.list_subscribe", + title: "Subscribe to save list updatess", + description: "Subscribe to be notifed on updates to the list of saves of instances.", +}); definePermission({ name: "core.instance.save.create", title: "Create new instance save", @@ -402,11 +407,6 @@ definePermission({ title: "Download save from instance", description: "Download savegames from instances.", }); -definePermission({ - name: "core.instance.save.list_subscribe", - title: "Subscribe to save list updatess", - description: "Subscribe to be notifed on updates to the list of saves of instances.", -}); definePermission({ name: "core.instance.export_data", title: "Export locale and icons",