You need to sign in to do that
Don't have an account?

Warning! Edit Action on apex:enhancedList allows Portal User to Edit entire Case
Not sure if it was intended but allowing a Customer Portal User edit access on Cases so that they can add Attachements and Comments to a Case allows them to edit the entire Case via the Edit Action on the enhancedList. This is a big no no and I do not know how to stop them from editing the entire Case while still allowing them to add Attachments and Comments. I need to use the enhanceList functionality for sorting purposes on the list.
Is there a way to stop the edit action on the enhancedList?
Just came across this old thread and thought I would comment. We had this same problem - Customer Portal users need to have 'Edit' rights on the Case object to add attachments, but we did not want them to have the ability to edit the Case. What we did was hide the 'Edit' link on the list view by adding a bit of CSS to the header file. This will hide the 'Edit' button if the Customer Portal user is in the portal using a browser with CSS enabled (which, most should be by default.)
.mruItem .userMru,
th.actionColumn,
td.actionColumn,
select#hotlist_mode {
display: none;
}
It's a bit of a hack. but it works.
HTH,
-- Rob
Hi Rob. I added your css style to my visual force page. I was hoping to remove the edit/del action item. it did not seem to do the trick..."it" being the CSS you posted. Any other hints?
Thanks
Frank