Added privilege checking before listing and copying posts

This is done to make sure the users of a blog will not copy
posts that they have no permission to edit. Viewing permission
is not accounted for at the moment.