Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Add a note to implement 403-like status at the post edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
artkravchenko committed Apr 27, 2017
1 parent ae0dc89 commit ec2abf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/post-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class PostEditPage extends React.Component {
}

if (post.get('user_id') != current_user.get('id')) {
return null;
return null; // TODO: handle 403 properly (403 page)
}

const actions = _.pick(this.props, 'resetEditPostForm', 'updateEditPostForm');
Expand Down

0 comments on commit ec2abf9

Please sign in to comment.