def test_user_cant_create_records_in_other_domains(self):
        request = self.u_client.post(
            reverse('record-list'),
            {
                'name': 'site.u.example.com',
                'content': '192.168.1.4',
                'type': 'A',
                'domain': get_domain_url(self.su_domain),
                'auto_ptr': AutoPtrOptions.NEVER.id,
            },
        )
        self.assertEqual(request.status_code, 400)
Normal user can't create records in domain she doesn't own.
dataset/ETHPy150Open allegro/django-powerdns-dnssec/powerdns/tests/test_permissions.py/TestPermissions.test_user_cant_create_records_in_other_domains