Add dependency of permissions on renaming of the Origin model
Add permission inlines to api keys and origins
Create default permissions for existing API keys