Code execution and the Editor role

Hi,

I have a site with a code block that shows an animated SVG. When saved it works as expected.

However, if my client (Editor role, Builder access: Edit content, Code execution: off) edits some text or images on that page, then saves, the SVG animation does not show.

I then have to go back in to the page, paste the animated SVG code back into the code block to make it show again.

Could this be because they have ‘Code execution’ disabled in Bricks settings and although they haven’t edited the code block, just some text or images, it somehow disables the code?

If so, how could I allow them to edit the page without causing the problem, but not give them ‘Code execution’ permission?

Question for core dev:

Is this intended behavior for Code Execution = false ?

1 Like