new_contents: # Generated by Django 1.11.21 on 2019-10-07 13:21
  
  from django.core.management import call_command
  from django.db import migrations
  
  from corehq.privileges import ODATA_FEED
  from corehq.util.django_migrations import skip_on_fresh_install
  
  
  @skip_on_fresh_install
  def _grandfather_odata_privs(apps, schema_editor):
      call_command('cchq_prbac_bootstrap')
      call_command(
          'cchq_prbac_grandfather_privs',
          ODATA_FEED,
          skip_edition='Paused,Community,Standard,Pro',
          noinput=True,
      )
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('accounting', '0043_grandfather_case_privs'),
      ]
  
      operations = [
          migrations.RunPython(_grandfather_odata_privs),
      ]
  
subject: add migration to grandfather odata feed privileges to advanced and above plans