LILY-2577 adapt to changed permission syntax