Adding permission related support for cartridge-php tests