I need to load permission definitions from database. Permission definition provider is in application.contracts and it does not have access to repository. Where is the best