Skip to main content

Inline edit in lightning works even if the user doesn't have access to edit the record? 

 

If the user clicks edit they get an error message that makes sense, if they double click into a field they are able to change and then get an error on save that doesn't make sense.

 

Is this expected?  Any plans to not show inline edit if a user doesn't have access to edit the record?

1 comentario
  1. 9 may 2019, 17:36
    Hi @Cheryl Feldman, if its object level edit access that is missing, the Edit button and inline edit pencils won't show up. If it's record level access that is missing, there are performance implications to check this per record, so the check is done at the earliest server request that requires edit access. For the Edit button that's when you press it because it goes to get the Full Edit layout. For inline edit, the pencils just switch all the same 'view' fields to inline edit mode, which is a client side thing, and upon Save is when the server request goes out that fails. We did investigate checking for edit access at the record level upon page load, but the performance implication is that for every page load it would add a few hundred MS to the load time, which was deemed to not be a worthwhile tradeoff at the time. Totally understand, and hoping we can make this better going forward, but at the moment this is WAD (fundamentally due to performance implications) and no immediate plans to address. Out of my curiosity, for the record access configuration you have in your org, does Classic hide the inline edit pencils proactively for the same scenario?
0/9000