"Preview before submitting" based on user role So, you can make "Preview before submitting" optional or required for a node type.
I would like to make it optional based on the user who is creating the node.

So, for example, a authenticated user has to view the preview of a node before he can save it, whereas a administrator user can save the node without previewing it beforehand.

Is there a module for that?

I tried it myself, hiding the submit button in hook_form_alter, depending on the current user's role:

$form['actions']['submit']['#access'] = false;

But i can't let the submit button appear again in hook_node_validate by doing:

$form_state['complete form']['actions']['submit']['#access'] = true;

Any help would be appreciated!
You have to unset the button:

unset($form['actions']['submit']);


This will delete the submit button from the array, thus it won't show up. Be carefull bacause above code will hide your submit button. You will have to check the key for the "preview" button.