Is it possible to lock a user out of EDIT mode on the CCK form (using Multistep) once the form is completed and the user has clicked the DONE button? Basically when they submit their form now and it's 100% complete, they can still access the EDIT button on the node form and edit the screens via multistep. I want to hide the EDIT button and not give them edit access, but still allow View access.

Is this doable?

-backdrifting

Comments

vkareh’s picture

Status: Active » Closed (works as designed)

You might try the Content Access module, which allows you to set permissions for content based on users and workflow, and set it so that they can't edit published node, while at the same time setting multistep to publish only upon completion.

farzan’s picture

I have installed the Content Access module. But could not find any workflow based permission to prohibit users from editing the published contents. Would you please let me know how I can do it?

ambientdrup’s picture

The real issue here is that the EDIT tab still shows up on the node form even when I do not grant the role edit permissions. How can we hide the EDIT tab - it's only showing up with this module enabled.

-backdrifting

bluestarstudios’s picture

subscribing. hopefully somebody can find a solution...

ambientdrup’s picture

I've figured out how to do this using a combination of Node Access module configuration and general Drupal permissions. I'll post my solution/workflow ASAP so you can all see what I did to get a solution. Sorry for the delay.

-backdrifting

vthirteen’s picture

hi ambientdrup, i'm in the middle of the process of setting the same. i tried with a default rule about user role for event "Content is going to be saved" but it didn't work. i'm starting working on content access and rules.
i'd like to know your solution.

- content_access: authenticated user can view and edit his own content
- multistep: node saved after completion
- rule: ON event After saving new content
- condition: node type
- action: Revoke content permissions by role (a rule from content_access module), authenticated user can only view his own content

unfortunately the content is still editable by authenticated user.

vthirteen’s picture

up

tyrusmanuel’s picture

Was this ever resolved?? ambientdrup?? You said you figured it out...and promised to share, even two years later, I need a solution now so it would be awesome for any help.

ambientdrup’s picture

I'll see what I can do to dig up the solution again. It's been awhile since I've looked at this.

-Trevor