Hi, When the author approves the file (any generated page submitted to workflow) the edit link in the workflow screen is disabled. But when we click on preview of the same page, the page opens up with a visualpreview tool bar where the edit button is enabled. Ideally once the file is approved, the approver should not be able to edit the file. How to disable the edit button from the visual preview tool bar once the author has approved the file?
The file that is generated as part of the Preview operation is a zz_... file and chances are, the permissions on that file are such that it allows editing - and thus the visual toolbar allows for editing by the user performing the preview operation.I can think of a couple of ways you might be able to change that - one would be to have the PT used for creating the preview run some built-in or system commands to change the permissions on the generated output file [if in preview mode?]Another would be to setup the iwproxy_smartcontextedit_allowed setting in the iw.cfg so that files with names that start with "zz_tst_" (I believe that's the preview file naming convention?) do not have the SCE toolbar enabled (remember to restart the iwproxy service after making the change to the iw.cfg file)Either of those options should work - I think the second one is cleaner and less error prone.