User-restricted groovy scripts