Closed (works as designed)
Project:
Multistep (D7)
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2009 at 16:48 UTC
Updated:
27 Feb 2012 at 16:58 UTC
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
Comment #1
vkareh commentedYou 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.
Comment #2
farzan commentedI 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?
Comment #3
ambientdrup commentedThe 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
Comment #4
bluestarstudios commentedsubscribing. hopefully somebody can find a solution...
Comment #5
ambientdrup commentedI'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
Comment #6
vthirteen commentedhi 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.
Comment #7
vthirteen commentedup
Comment #8
tyrusmanuel commentedWas 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.
Comment #9
ambientdrup commentedI'll see what I can do to dig up the solution again. It's been awhile since I've looked at this.
-Trevor