I am having a problem trying to selectively enable certain fields for edit.
I have a certain class of users who are permitted to edit a single caption field in my object type.
I have defined a permission named 'Edit Captions' and assigned it to that class of users in the rolemap.xml file within my product.
I have specified the write_permission property in the field to be edited (it is a TextField) and set it to the 'Edit Captions' permission.
When the user displays the default view of the object, he/she can double-click on the field and the TextAreaWidget renders correctly in write mode. Other classes of user cannot do this, so the write_permission property is apparently being set correctly.
The user can enter text in the widget but when he/she clicks the Save button, nothing happens. The Cancel button works correctly but the user can click the Save button forever with no results.
I suspect that I need to set some other permissions for this class of user in order for the Save button to work, but I cannot figure out what permissions.
I have tried setting the Add permission for the content type, which I do not really want to do since I want the user to be able to edit the caption field for existing content but not create new content. The Add permission made no difference however.
I also tried setting the Modify portal content permission, again with no luck.
Any suggestions would be greatly appreciated.
Thanks in advance,
Neil Stokes