I want to be able to set nodes to a state where they are read only for the creators, after admins have set a certain field to a certain value. Is that somehow possible?

Comments

-Anti-’s picture

I don't know what you mean by 'a certain field', but one possible solution you may want to look at is the 'node privacy by role' module. This module allows you to set a default view/edit/delete permission for each content-type, and also provides a section on each node's 'create/edit' page, where the individual permission for each node can be changed.

So, there are two possible workflows:

1) auth user creates content, but then *automatically* cannot edit it once saved.
2) auth user can create and edit own content until admin goes to the node and removes edit permission.

http://drupal.org/project/node_privacy_byrole

wanderingstan’s picture

I need to arbitrarily make some nodes read-only. I tried to use the taxonomy access module for this, and got close to having it work, but couldn't quite get it. I compiled some nodes from my experience here in hopes that it might help someone else. If you figure it out, please share. :)

-Anti-’s picture

> I need to arbitrarily make some nodes read-only.
> I tried to use the taxonomy access module for this,
> and got close to having it work, but couldn't quite get it

Taclite does much the same BASIC things, but is much easier to use and more stable:
http://drupal.org/project/tac_lite

WorldFallz’s picture

Maybe the http://drupal.org/project/simple_access module. Also, another option might be using taxonomy access control or taclite, content_taxonomy, and cck field permissions (part of the core cck module).

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

aquila’s picture

Thanks for your suggestion, I discovered the Content Access module through it and decided to use it, combined with the Rules module. It does perfectly what I want!

-Anti-’s picture

Glad that you found a solution.

If you've got time, I'd be interested to know what your workflow is going to be, especially with regard to the original issue of users being able to submit content for review without actual nodes being created. Did you manage to achieve that, or are users going to create nodes for their 'draft' submissions?

aquila’s picture

The actual nodes are created, users just don't have the right to change them. This was good enough for the system we looked for, so I'll settle with this solution.

-Anti-’s picture

Did you edit your original post? I thought it contained something about posting drafts as non-nodes and uploading submissions as word docs for moderation by admin?

If not, I probably posted my workflow query to the wrong thread. :)

srikanth.g’s picture

https://www.drupal.org/sandbox/ttournie/2278257
I am using "Read only node" module for my D7 project.It displays "Read only" check-box under publishing options also.
But its not working,normal users can see Edit option for a particular node(after set as read only)