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!