Add dependency for allow-permissions extension

Change-Id: I02d614aad95d7427db52202da4d484e94ed74127