It is possible to configure a content type with a right to allow creation of a new content of this type.
This right will be used to display or not a content type in the "Add content" gallery. => OK
But this right will not be checked during the actual creation => KO
Step to reproduce :
- Take a user with the right to add a content to a page and the Web_Right_Article_Create right on general context.
- Select the zone and click on the "Add Content" button (but don't select any type yet).
You should see the "Article" type in the gallery. - Using a different browser, log in with a different user and edit the first user right so that he doesn't have the Web_Right_Article_Create right on general context.
- Get back to the first browser and add a new article to the zone. (without refreshing the page or reselecting the zone.)
- The creation succeed => KO