Over at http://drupal.org/node/88568 I've been researching a way to allow non-admin users to set a node's "athored on" creation date to something other than the current date of submission— basically allowing a non-admin to backdate a node. This can of course be done by checking the box at "access control -> node module -> administer nodes", but that apparently also allows any user (with that permission set) to modify any other user's nodes as well, which is def not what I need. i only want these users to be able to modify their own nodes (not global node admin).
Since i'm not at all familiar with PHP, I thought I could get around it by using something similar to the Actions module's "Touch node creation date" action, except my action would be "Set authored on date" (or similar) and I'd have it fire whenever a particular node type (below) was created.
So does anyone how I could relativey easily create an Action (to be used with the Workflow module) to automatically set a node's "athored on date" to a non-admin, user-supplied field? For instance, I used CCK to create a new node type, and used the standard categories menu to add the following vocabularies to that node type:
- Production Day
- Production Month
- Production Year
Now non-admin users won't actually see the "authored on" option when creating this new node type, either. So what I'd like to do is, when a non-admin user creates this new node instance and click's submit, the Workflow action would automatically set that node's hidden "authored on date" to the concatenation of my custom date fields (which the non-admin can see).