I agree with the new permission. Only certain priveledge users should ever have the ability to set a blocks visiblity with PHP code. This is the same way the filters work with PHP code, only certain roles may ever enter PHP code. We need this change for consistency and to allow site admins to properly hand out roles without fear of the site being wrongly hacked or messed up. ted On 1/5/06, Karoly Negyesi <karoly@negyesi.net> wrote:
What if we would add a permission or misuse an existing (administer filters) and simply do not show for 'lesser admins' the radio and the textarea under question? block configure is under new submit model so we can simply put in 'value' type fields and be done.
Amount of code to be written: one if, and two new form elements. 11 simple lines if I counted right.