Can you control visibility based on the Editability of a data view?
I have a large snippet that I want to re-use in a page, where one version is editable, and one is not. In that snippet are a couple of buttons that I don’t want to be visible in the non-editable version. Is it possible to hide those buttons if the surrounding dataview is in “Editable: No” mode?
As far as I know what you're hoping to do is not possible out of the box. A workaround would be to create a helper object with an “editable” attribute, based on which you can set the visibility of the buttons within your snippet. It's not pretty, but it should work.
In addition to Eline’s useful answer: conditional editability is not for security, so make sure your entity access, roles and permissions are set correctly.