Hide node types from "New Content Element" wizard

Hi all

I successfully implemented some privilege targets for create, edit and delete various node types (Neos.NodeTypes:Html for example). This all works fine - more or less.

When a user tries to create a new content element of any forbidden node type, he gets a 403 Forbidden error message stating that creation of this node type is not allowed. Since this error message is rather technical I don’t like it to be displayed to the user.

I think all node types which the backend user is not allowed to create should be hidden in the content creation wizard. So in my case the user should not have the possibility to click on the node type “HTML”.

So the quesion is:

Is there a way to hide some node types for user with a given role. Other user with a more privileged role should of course still be able to create content elements of this node type.

2 Likes