From d0e91abe5a9f3e5e776fe29d892aa51a1c7a4773 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 5 Dec 2016 13:14:40 +0100 Subject: [PATCH] Remove wrong rights check. --- src/components/status/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index 8b2561cf..3245d98b 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -22,7 +22,7 @@ const Status = { return !!this.$store.state.users.currentUser }, deleted () { return this.statusoid.deleted }, - canDelete () { return this.statusoid.user.rights.delete_others_notice || this.statusoid.user.id == this.$store.state.users.currentUser.id } + canDelete () { return this.statusoid.user.id === this.$store.state.users.currentUser.id } }, components: { Attachment,