I set 'Can publish' permission for user group and then user can change layout of section page. How I can prevent user from changing layout of section page without revoking 'Can publish' permission?
I have found a way to fix this problem without modifying the code. First I append a signal '-4e4ee1bc9f114' to SEO URL aliases of section. Next, I add ad block which is displayed for specified user group. In ad block, I add following code: <script> var turl = window.location + ''; if (turl.indexOf('-4e4ee1bc9f114/edit') >= 0) { turl = turl.replace('-4e4ee1bc9f114\/edit', '-4e4ee1bc9f114'); window.location.replace(turl); } </script>