Use Unauthorized exception for access checks.
[{"pk": 1, "model": "sites.site", "fields": {"domain": "example.com", "name": "example.com"}}, {"pk": 3, "model": "sites.site", "fields": {"domain": "fossee.in/pytask", "name": "PyTask "}}, {"pk": 2, "model": "sites.site", "fields": {"domain": "localhost:8080", "name": "Development Server"}}]