stub permissions injector