Is there a way for me to do the following:
Create a new content object of type 'A':
//The global user is user Y
$node = new Object();
$node->type = 'A'
//etc..
//Save node - but I want the node to look like it was created by user X
node_save($node);
This is a case where user Y does not have 'create A content'
permission, but user X does and all content of type A should be created by user X (i.e. the script);