text: import rules
  from projectroles import rules as pr_rules
  
  
  rules.add_perm(
      "clinvar_export.view_data",
      rules.is_superuser
      | pr_rules.is_project_owner
      | pr_rules.is_project_delegate
      | pr_rules.is_project_contributor
      | pr_rules.is_project_guest,
  )
  
  rules.add_perm(
      "clinvar_export.add_data",
      rules.is_superuser
      | pr_rules.is_project_owner
      | pr_rules.is_project_delegate
      | pr_rules.is_project_contributor,
  )
  
  rules.add_perm(
      "clinvar_export.delete_data",
      rules.is_superuser
      | pr_rules.is_project_owner
      | pr_rules.is_project_delegate
      | pr_rules.is_project_contributor,
  )
  
  rules.add_perm(
      "clinvar_export.update_data",
      rules.is_superuser
      | pr_rules.is_project_owner
      | pr_rules.is_project_delegate
      | pr_rules.is_project_contributor,
  )
  