From c2fd03e113689e6d09930cf930e379a2f89587bc Mon Sep 17 00:00:00 2001 From: nztqa Date: Mon, 27 Nov 2017 17:52:21 +0900 Subject: Fix permissions (isBoardMember to isNotCommentOnly) --- client/components/users/userAvatar.jade | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/components/users/userAvatar.jade b/client/components/users/userAvatar.jade index c61f2365..83e2c8d0 100644 --- a/client/components/users/userAvatar.jade +++ b/client/components/users/userAvatar.jade @@ -71,10 +71,10 @@ template(name="cardMemberPopup") .info h3= user.profile.fullname p.quiet @{{ user.username }} - if currentUser.isBoardMember - ul.pop-over-list - li: a.js-remove-member {{_ 'remove-member-from-card'}} + ul.pop-over-list + if currentUser.isNotCommentOnly + li: a.js-remove-member {{_ 'remove-member-from-card'}} - if $eq currentUser._id user._id - with currentUser - li: a.js-edit-profile {{_ 'edit-profile'}} + if $eq currentUser._id user._id + with currentUser + li: a.js-edit-profile {{_ 'edit-profile'}} -- cgit v1.2.3-1-g7c22 From 3756b7b0fca2bbb190b4e6937f44eedc9f671b69 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 27 Nov 2017 13:12:59 +0200 Subject: Fix: User with comment only permissions can remove another user from a card. Thanks to nztqa ! Closes #1349 --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a10f120..d0acca4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,16 @@ +# Upcoming Wekan release + +This release fixes the following bugs: + +* [Fix: User with comment only permissions can remove another user from a card](https://github.com/wekan/wekan/pull/1352). + +Thanks to GitHub user nztqa for contributions. + # v0.59 2017-11-23 Wekan release. This release fixes the following bugs: -* [Fix not working stdout logging by removing Winston logger](https://github.com/wekan/wekan/pull/1352). +* [Remove incomplete logger fix](https://github.com/wekan/wekan/pull/1352). Thanks to GitHub user pierreozoux for contributions. -- cgit v1.2.3-1-g7c22