By kxerc on
I have a system where I want a node to expire after a certain amount of time and/or if a specific user views it once. By expire I mean unpublish and lock down except for certain more authenticated users (admins). I've seen Auto Expire and Scheduler, which addresses the time expire, but nothing for the one view and its unpublished. Any such thing already exist? As always thanks much in advance for the help.
Comments
...
See the workflow-ng module. If lets you do "when viewing a node of xyz type, if the user belongs to the zyx role, then unpublish the node".
(you'll have to give them 'administer nodes' permission for them to see unpublished nodes. If you don't like this, change your scheme to use some node-access module instead of revolving around the 'published' flag.)