I have just created a custom post type called "projects". When I tried to add a new "

I have just created a custom post type called "projects". When I tried to add a new "project" post I got an error message against an all-white background that said: "You are not allowed to edit this post." What could be causing this problem?