Make announcements available to all with privileges
This commit is contained in:
parent
25e628efe2
commit
b65a89c822
5 changed files with 10 additions and 4 deletions
|
|
@ -27,6 +27,9 @@ const Announcement = {
|
|||
...mapState({
|
||||
currentUser: state => state.users.currentUser
|
||||
}),
|
||||
canEditAnnouncement () {
|
||||
return this.currentUser && this.currentUser.privileges.includes('announcements_manage_announcements')
|
||||
},
|
||||
content () {
|
||||
return this.announcement.content
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue