Fix gradient permissions