diff --git a/CHANGELOG.md b/CHANGELOG.md index 940b195b1..7980614d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ [Mac ChangeLog](https://github.com/wekan/wekan/wiki/Mac) +# v5.87 2021-12-19 WeKan ® release + +This release adds the following updates: + +- [Changed Docker base image to ubuntu:rolling](https://github.com/wekan/wekan/commit/8446640060e6e5058d0d186d71831a32a9e606e3). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v5.86 2021-12-19 WeKan ® release + +This release fixes the following bugs: + +- [Fix: BoardAdmin can't edit or delete others comments on cards](https://github.com/wekan/wekan/pull/4248). + Thanks to Ben0it-T. + +Thanks to above GitHub users for their contributions and translators for their translations. + # v5.85 2021-12-17 WeKan ® release This release adds the following updates: diff --git a/Dockerfile b/Dockerfile index cb4dc9d72..c82283d97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/wekan/ubuntu:impish-20211102 +FROM ubuntu:rolling LABEL maintainer="wekan" # 2021-09-18: diff --git a/Stackerfile.yml b/Stackerfile.yml index 47bbea0c1..2ba483b18 100644 --- a/Stackerfile.yml +++ b/Stackerfile.yml @@ -1,5 +1,5 @@ appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 -appVersion: "v5.85.0" +appVersion: "v5.87.0" files: userUploads: - README.md diff --git a/helm/wekan/Chart.yaml b/helm/wekan/Chart.yaml index 0350a7b89..68de41335 100644 --- a/helm/wekan/Chart.yaml +++ b/helm/wekan/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: "5.85" +appVersion: "5.87" dependencies: - condition: mongodb.enabled name: mongodb diff --git a/helm/wekan/values.yaml b/helm/wekan/values.yaml index dc0438144..50757f717 100644 --- a/helm/wekan/values.yaml +++ b/helm/wekan/values.yaml @@ -14,7 +14,7 @@ serviceAccounts: ## image: repository: quay.io/wekan/wekan - tag: v5.85 + tag: v5.87 pullPolicy: IfNotPresent ## Configuration for wekan component diff --git a/models/cardComments.js b/models/cardComments.js index 8dbd437e2..f8c860704 100644 --- a/models/cardComments.js +++ b/models/cardComments.js @@ -75,10 +75,10 @@ CardComments.allow({ return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); }, update(userId, doc) { - return userId === doc.userId; + return userId === doc.userId || allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); }, remove(userId, doc) { - return userId === doc.userId; + return userId === doc.userId || allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); }, fetch: ['userId', 'boardId'], }); diff --git a/package-lock.json b/package-lock.json index 59d0a8812..cfd0c71ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v5.85.0", + "version": "v5.87.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4ea9fc8bf..f3542ecca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wekan", - "version": "v5.85.0", + "version": "v5.87.0", "description": "Open-Source kanban", "private": true, "repository": { diff --git a/public/api/wekan.html b/public/api/wekan.html index 063b18baf..7a2df1473 100644 --- a/public/api/wekan.html +++ b/public/api/wekan.html @@ -7,7 +7,7 @@ - Wekan REST API v5.85 + Wekan REST API v5.87 @@ -1555,7 +1555,7 @@ var n=this.pipeline.run(e.tokenizer(t)),r=new e.Vector,i=[],o=this._fields.reduc