Remove wrong rights check.

environments/dev/deployments/1
Roger Braun 8 years ago
parent be5fe03972
commit d0e91abe5a

@ -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,

Loading…
Cancel
Save