It totally defeat the purpose of the SCRIPT right which is supposed to be about the source of the current executing code...
See https://forum.xwiki.org/t/error-in-panel-after-xwiki-upgrade-to-10-10/4017 for a consequence.
A simple way to reproduce is to:
- save some visible panel with a simple user
- deny script right for this use in a specific page
-> the panel works everywhere but in that page