fix permissions for test edit