Tweaking the geolocation plugin to contain all the permissions code. Sadly, we have...