From 064cd4e65ccaa27f1ef2f5a3cb1160bf7e4eba80 Mon Sep 17 00:00:00 2001 From: Helmi Akermi <70575401+hakermi@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:40:14 +0100 Subject: [PATCH] feat: Adjust schedule note publication permissions - EXO-75520 - Meeds-io/MIPs#161 (#1225) Adjust schedule note publication permissions --- .../src/main/webapp/vue-app/notes/components/NotesOverview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue b/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue index 168830ba0..e45d149ad 100644 --- a/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue +++ b/notes-webapp/src/main/webapp/vue-app/notes/components/NotesOverview.vue @@ -604,7 +604,7 @@ export default { return !this.published && this?.note.author === eXo.env.portal.userName; }, canScheduleNotePublication() { - return this.isNoteAuthor || this.canSchedule || this.canPublish; + return this.note?.canManage || this.canSchedule; } }, created() {