Error:"You are not allowed to edit this post."

I created a new post type "books". On entering add a new book, I get the message, "You are not allowed to edit this post."