Reverted the permission model changes to registry.xml