Skip to content

Commit

Permalink
feat: Adjust schedule note publication permissions - EXO-75520 - Meed…
Browse files Browse the repository at this point in the history
…s-io/MIPs#161 (#1225)

Adjust schedule note publication permissions
  • Loading branch information
hakermi authored and sofyenne committed Nov 27, 2024
1 parent 1a82a5b commit 2232e74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 2232e74

Please sign in to comment.