I’m developing an app which is kind of like a forum. Users can post comment. A comment can be edited by only the owner of the comment. For doing this
the logic is
if(Meteor.userId() === comment.userId) {
forum.comment = updatedComment
Meteor.call(‘update-forum’, forum)
}
Is it safe what I’m doing here? Should I shift the authentication logic to the server side?