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

Adjust schedule note publication permissions
  • Loading branch information
hakermi committed Nov 26, 2024
1 parent f2e3f6e commit fc92543
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 fc92543

Please sign in to comment.