payload: {"action":"created","comment":{"url":"https://api.github.com/repos/open-zaak/open-zaak/pulls/comments/362484904","pull_request_review_id":337669881,"id":362484904,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MjQ4NDkwNA==","diff_hunk":"@@ -0,0 +1,152 @@\n+from collections import defaultdict\n+\n+from django.apps import apps\n+from django.contrib.postgres.fields import ArrayField\n+from django.db import models\n+from django.utils.translation import ugettext_lazy as _\n+\n+from vng_api_common.authorizations.models import Applicatie, Autorisatie\n+from vng_api_common.constants import ComponentTypes\n+from vng_api_common.fields import VertrouwelijkheidsAanduidingField\n+\n+from openzaak.utils import build_absolute_url\n+\n+COMPONENT_TO_MODEL = {\n+    ComponentTypes.zrc: \"catalogi.ZaakType\",\n+    ComponentTypes.drc: \"catalogi.InformatieObjectType\",\n+    ComponentTypes.brc: \"catalogi.BesluitType\",\n+}\n+\n+COMPONENT_TO_FIELD = {\n+    ComponentTypes.zrc: \"zaaktype\",\n+    ComponentTypes.drc: \"informatieobjecttype\",\n+    ComponentTypes.brc: \"besluittype\",\n+}\n+\n+\n+class AutorisatieSpec(models.Model):\n+    \"\"\"\n+    Specification for Autorisatie to install.\n+\n+    If a spec exists, it will be applied when a ZaakType, InformatieObjectType\n+    or BesluitType is created.\n+    \"\"\"\n+\n+    applicatie = models.ForeignKey(\n+        Applicatie,\n+        on_delete=models.CASCADE,\n+        related_name=\"autorisatie_specs\",\n+        verbose_name=_(\"applicatie\"),\n+    )\n+    component = models.CharField(\n+        _(\"component\"),\n+        max_length=50,\n+        choices=ComponentTypes.choices,\n+        help_text=_(\"Component waarop autorisatie van toepassing is.\"),\n+    )\n+    scopes = ArrayField(\n+        models.CharField(max_length=100),\n+        verbose_name=_(\"scopes\"),\n+        help_text=_(\"Komma-gescheiden lijst van scope labels.\"),\n+    )\n+    max_vertrouwelijkheidaanduiding = VertrouwelijkheidsAanduidingField(\n+        help_text=_(\"Maximaal toegelaten vertrouwelijkheidaanduiding (inclusief).\"),\n+        blank=True,\n+    )\n+\n+    class Meta:\n+        verbose_name = _(\"autorisatiespec\")\n+        verbose_name_plural = _(\"autorisatiespecs\")\n+        # since the spec implicates this config is valid for _all_ zaaktypen/\n+        # informatieobjecttypen/besluittypen, the scopes/VA are constant for\n+        # these. The exact *type is implied by the component choice, so we need\n+        # a unique constraint on applicatie + component\n+        unique_together = (\"applicatie\", \"component\")\n+\n+    def __str__(self):\n+        return _(\"{component} autorisatiespec voor {app}\").format(\n+            component=self.get_component_display(), app=self.applicatie\n+        )\n+\n+    @classmethod\n+    def sync(cls):\n+        \"\"\"\n+        Synchronize the Autorisaties for all Applicaties.\n+\n+        Invoke this method whenever a ZaakType/InformatieObjectType/BesluitType\n+        is created to set up the appropriate Autorisatie objects. This is best\n+        called as part of `transaction.on_commit`.\n+        \"\"\"\n+        from .utils import send_applicatie_changed_notification\n+\n+        qs = cls.objects.select_related(\"applicatie\").prefetch_related(\n+            \"applicatie__autorisaties\"\n+        )\n+\n+        to_delete = []\n+        to_keep = []\n+        to_add = []\n+\n+        for spec in qs:\n+            existing_autorisaties = [\n+                autorisatie\n+                for autorisatie in spec.applicatie.autorisaties.all()\n+                if autorisatie.component == spec.component\n+            ]\n+\n+            for autorisatie in existing_autorisaties:\n+                # schedule for deletion if existing objects differ from the spec\n+                if (\n+                    autorisatie.max_vertrouwelijkheidaanduiding\n+                    != spec.max_vertrouwelijkheidaanduiding\n+                ):\n+                    to_delete.append(autorisatie)\n+                    continue\n+\n+                if set(autorisatie.scopes) != set(spec.scopes):\n+                    to_delete.append(autorisatie)\n+                    continue\n+\n+                to_keep.append(autorisatie)\n+\n+            TypeModel = apps.get_model(COMPONENT_TO_MODEL[spec.component])\n+            field = COMPONENT_TO_FIELD[spec.component]\n+\n+            for obj in TypeModel.objects.all():\n+                url = build_absolute_url(obj.get_absolute_api_url())\n+\n+                autorisatie = Autorisatie(\n+                    applicatie=spec.applicatie,\n+                    component=spec.component,\n+                    scopes=spec.scopes,\n+                    max_vertrouwelijkheidaanduiding=spec.max_vertrouwelijkheidaanduiding,\n+                    **{field: url}\n+                )\n+                to_add.append(autorisatie)\n+\n+        Autorisatie.objects.filter(pk__in=[autorisatie.pk for autorisatie in to_delete])\n+\n+        # de-duplicate - whatever is in to_keep should not be added again\n+        existing_urls = defaultdict(list)\n+        for autorisatie in to_keep:\n+            if autorisatie.component not in COMPONENT_TO_FIELD:\n+                continue\n+            url = getattr(autorisatie, COMPONENT_TO_FIELD[autorisatie.component])\n+            existing_urls[autorisatie.component].append(url)\n+\n+        _to_add = []\n+        for autorisatie in to_add:\n+            if autorisatie.component not in COMPONENT_TO_FIELD:\n+                continue\n+            url = getattr(autorisatie, COMPONENT_TO_FIELD[autorisatie.component])\n+            if url in existing_urls[autorisatie.component]:\n+                continue\n+            _to_add.append(autorisatie)\n+\n+        # created the de-duplicated, missing autorisaties\n+        Autorisatie.objects.bulk_create(_to_add)\n+\n+        # determine which notifications to send\n+        changed = {autorisatie.applicatie for autorisatie in (to_delete + _to_add)}\n+        for applicatie in changed:\n+            send_applicatie_changed_notification(applicatie)","path":"src/openzaak/components/autorisaties/models.py","position":152,"original_position":152,"commit_id":"1a61687ec041c79b7104bf47a3a81c846fcf597e","original_commit_id":"1a61687ec041c79b7104bf47a3a81c846fcf597e","user":{"login":"joeribekker","id":96970,"node_id":"MDQ6VXNlcjk2OTcw","avatar_url":"https://avatars1.githubusercontent.com/u/96970?v=4","gravatar_id":"","url":"https://api.github.com/users/joeribekker","html_url":"https://github.com/joeribekker","followers_url":"https://api.github.com/users/joeribekker/followers","following_url":"https://api.github.com/users/joeribekker/following{/other_user}","gists_url":"https://api.github.com/users/joeribekker/gists{/gist_id}","starred_url":"https://api.github.com/users/joeribekker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeribekker/subscriptions","organizations_url":"https://api.github.com/users/joeribekker/orgs","repos_url":"https://api.github.com/users/joeribekker/repos","events_url":"https://api.github.com/users/joeribekker/events{/privacy}","received_events_url":"https://api.github.com/users/joeribekker/received_events","type":"User","site_admin":false},"body":"Oh, so notifications are supported?\r\n\r\nIn that case the TODO [here](https://github.com/open-zaak/open-zaak/pull/307/files#diff-6cad5efe4cac826fd10c4c55bb505adaR219) can be removed and #355 can be closed again.","created_at":"2020-01-02T14:11:03Z","updated_at":"2020-01-02T14:26:55Z","html_url":"https://github.com/open-zaak/open-zaak/pull/307#discussion_r362484904","pull_request_url":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/open-zaak/open-zaak/pulls/comments/362484904"},"html":{"href":"https://github.com/open-zaak/open-zaak/pull/307#discussion_r362484904"},"pull_request":{"href":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307"}}},"pull_request":{"url":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307","id":349388515,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ5Mzg4NTE1","html_url":"https://github.com/open-zaak/open-zaak/pull/307","diff_url":"https://github.com/open-zaak/open-zaak/pull/307.diff","patch_url":"https://github.com/open-zaak/open-zaak/pull/307.patch","issue_url":"https://api.github.com/repos/open-zaak/open-zaak/issues/307","number":307,"state":"open","locked":false,"title":"User-friendly application authorization management","user":{"login":"sergei-maertens","id":5518550,"node_id":"MDQ6VXNlcjU1MTg1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5518550?v=4","gravatar_id":"","url":"https://api.github.com/users/sergei-maertens","html_url":"https://github.com/sergei-maertens","followers_url":"https://api.github.com/users/sergei-maertens/followers","following_url":"https://api.github.com/users/sergei-maertens/following{/other_user}","gists_url":"https://api.github.com/users/sergei-maertens/gists{/gist_id}","starred_url":"https://api.github.com/users/sergei-maertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergei-maertens/subscriptions","organizations_url":"https://api.github.com/users/sergei-maertens/orgs","repos_url":"https://api.github.com/users/sergei-maertens/repos","events_url":"https://api.github.com/users/sergei-maertens/events{/privacy}","received_events_url":"https://api.github.com/users/sergei-maertens/received_events","type":"User","site_admin":false},"body":"- [x] Make inlines read-only\r\n- [x] Display context-dependent relevant autorisatie information\r\n- [x] Set up boilerplate for autorisaties edit page\r\n- [x] Test custom admin view permissions\r\n- [x] Set up dynamic forms for custom admin view\r\n- [x] Test form submission custom admin view\r\n- [x] Set up mechanism to set up auth for future *type\r\n- [x] Set up notifications\r\n    - [x] Send notification on edit via admin\r\n    - [x] Send notification on future *type create","created_at":"2019-12-05T11:18:59Z","updated_at":"2020-01-02T14:26:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"926453ae66ea315f03c17b42a318986ab093f2b3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"annashamray","id":47745906,"node_id":"MDQ6VXNlcjQ3NzQ1OTA2","avatar_url":"https://avatars2.githubusercontent.com/u/47745906?v=4","gravatar_id":"","url":"https://api.github.com/users/annashamray","html_url":"https://github.com/annashamray","followers_url":"https://api.github.com/users/annashamray/followers","following_url":"https://api.github.com/users/annashamray/following{/other_user}","gists_url":"https://api.github.com/users/annashamray/gists{/gist_id}","starred_url":"https://api.github.com/users/annashamray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annashamray/subscriptions","organizations_url":"https://api.github.com/users/annashamray/orgs","repos_url":"https://api.github.com/users/annashamray/repos","events_url":"https://api.github.com/users/annashamray/events{/privacy}","received_events_url":"https://api.github.com/users/annashamray/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307/commits","review_comments_url":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307/comments","review_comment_url":"https://api.github.com/repos/open-zaak/open-zaak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-zaak/open-zaak/issues/307/comments","statuses_url":"https://api.github.com/repos/open-zaak/open-zaak/statuses/1a61687ec041c79b7104bf47a3a81c846fcf597e","head":{"label":"open-zaak:feature/autorisaties-admin","ref":"feature/autorisaties-admin","sha":"1a61687ec041c79b7104bf47a3a81c846fcf597e","user":{"login":"open-zaak","id":52713039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNzEzMDM5","avatar_url":"https://avatars3.githubusercontent.com/u/52713039?v=4","gravatar_id":"","url":"https://api.github.com/users/open-zaak","html_url":"https://github.com/open-zaak","followers_url":"https://api.github.com/users/open-zaak/followers","following_url":"https://api.github.com/users/open-zaak/following{/other_user}","gists_url":"https://api.github.com/users/open-zaak/gists{/gist_id}","starred_url":"https://api.github.com/users/open-zaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-zaak/subscriptions","organizations_url":"https://api.github.com/users/open-zaak/orgs","repos_url":"https://api.github.com/users/open-zaak/repos","events_url":"https://api.github.com/users/open-zaak/events{/privacy}","received_events_url":"https://api.github.com/users/open-zaak/received_events","type":"Organization","site_admin":false},"repo":{"id":199038022,"node_id":"MDEwOlJlcG9zaXRvcnkxOTkwMzgwMjI=","name":"open-zaak","full_name":"open-zaak/open-zaak","private":false,"owner":{"login":"open-zaak","id":52713039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNzEzMDM5","avatar_url":"https://avatars3.githubusercontent.com/u/52713039?v=4","gravatar_id":"","url":"https://api.github.com/users/open-zaak","html_url":"https://github.com/open-zaak","followers_url":"https://api.github.com/users/open-zaak/followers","following_url":"https://api.github.com/users/open-zaak/following{/other_user}","gists_url":"https://api.github.com/users/open-zaak/gists{/gist_id}","starred_url":"https://api.github.com/users/open-zaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-zaak/subscriptions","organizations_url":"https://api.github.com/users/open-zaak/orgs","repos_url":"https://api.github.com/users/open-zaak/repos","events_url":"https://api.github.com/users/open-zaak/events{/privacy}","received_events_url":"https://api.github.com/users/open-zaak/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-zaak/open-zaak","description":"API's voor Zaakgericht werken","fork":false,"url":"https://api.github.com/repos/open-zaak/open-zaak","forks_url":"https://api.github.com/repos/open-zaak/open-zaak/forks","keys_url":"https://api.github.com/repos/open-zaak/open-zaak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-zaak/open-zaak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-zaak/open-zaak/teams","hooks_url":"https://api.github.com/repos/open-zaak/open-zaak/hooks","issue_events_url":"https://api.github.com/repos/open-zaak/open-zaak/issues/events{/number}","events_url":"https://api.github.com/repos/open-zaak/open-zaak/events","assignees_url":"https://api.github.com/repos/open-zaak/open-zaak/assignees{/user}","branches_url":"https://api.github.com/repos/open-zaak/open-zaak/branches{/branch}","tags_url":"https://api.github.com/repos/open-zaak/open-zaak/tags","blobs_url":"https://api.github.com/repos/open-zaak/open-zaak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-zaak/open-zaak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-zaak/open-zaak/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-zaak/open-zaak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-zaak/open-zaak/statuses/{sha}","languages_url":"https://api.github.com/repos/open-zaak/open-zaak/languages","stargazers_url":"https://api.github.com/repos/open-zaak/open-zaak/stargazers","contributors_url":"https://api.github.com/repos/open-zaak/open-zaak/contributors","subscribers_url":"https://api.github.com/repos/open-zaak/open-zaak/subscribers","subscription_url":"https://api.github.com/repos/open-zaak/open-zaak/subscription","commits_url":"https://api.github.com/repos/open-zaak/open-zaak/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-zaak/open-zaak/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-zaak/open-zaak/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-zaak/open-zaak/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-zaak/open-zaak/contents/{+path}","compare_url":"https://api.github.com/repos/open-zaak/open-zaak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-zaak/open-zaak/merges","archive_url":"https://api.github.com/repos/open-zaak/open-zaak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-zaak/open-zaak/downloads","issues_url":"https://api.github.com/repos/open-zaak/open-zaak/issues{/number}","pulls_url":"https://api.github.com/repos/open-zaak/open-zaak/pulls{/number}","milestones_url":"https://api.github.com/repos/open-zaak/open-zaak/milestones{/number}","notifications_url":"https://api.github.com/repos/open-zaak/open-zaak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-zaak/open-zaak/labels{/name}","releases_url":"https://api.github.com/repos/open-zaak/open-zaak/releases{/id}","deployments_url":"https://api.github.com/repos/open-zaak/open-zaak/deployments","created_at":"2019-07-26T15:12:06Z","updated_at":"2020-01-02T14:01:52Z","pushed_at":"2020-01-02T14:21:42Z","git_url":"git://github.com/open-zaak/open-zaak.git","ssh_url":"git@github.com:open-zaak/open-zaak.git","clone_url":"https://github.com/open-zaak/open-zaak.git","svn_url":"https://github.com/open-zaak/open-zaak","homepage":null,"size":2842,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":70,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":70,"watchers":5,"default_branch":"master"}},"base":{"label":"open-zaak:master","ref":"master","sha":"9290b58f532a5d6797b444c8a461076bc0f128cf","user":{"login":"open-zaak","id":52713039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNzEzMDM5","avatar_url":"https://avatars3.githubusercontent.com/u/52713039?v=4","gravatar_id":"","url":"https://api.github.com/users/open-zaak","html_url":"https://github.com/open-zaak","followers_url":"https://api.github.com/users/open-zaak/followers","following_url":"https://api.github.com/users/open-zaak/following{/other_user}","gists_url":"https://api.github.com/users/open-zaak/gists{/gist_id}","starred_url":"https://api.github.com/users/open-zaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-zaak/subscriptions","organizations_url":"https://api.github.com/users/open-zaak/orgs","repos_url":"https://api.github.com/users/open-zaak/repos","events_url":"https://api.github.com/users/open-zaak/events{/privacy}","received_events_url":"https://api.github.com/users/open-zaak/received_events","type":"Organization","site_admin":false},"repo":{"id":199038022,"node_id":"MDEwOlJlcG9zaXRvcnkxOTkwMzgwMjI=","name":"open-zaak","full_name":"open-zaak/open-zaak","private":false,"owner":{"login":"open-zaak","id":52713039,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyNzEzMDM5","avatar_url":"https://avatars3.githubusercontent.com/u/52713039?v=4","gravatar_id":"","url":"https://api.github.com/users/open-zaak","html_url":"https://github.com/open-zaak","followers_url":"https://api.github.com/users/open-zaak/followers","following_url":"https://api.github.com/users/open-zaak/following{/other_user}","gists_url":"https://api.github.com/users/open-zaak/gists{/gist_id}","starred_url":"https://api.github.com/users/open-zaak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-zaak/subscriptions","organizations_url":"https://api.github.com/users/open-zaak/orgs","repos_url":"https://api.github.com/users/open-zaak/repos","events_url":"https://api.github.com/users/open-zaak/events{/privacy}","received_events_url":"https://api.github.com/users/open-zaak/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/open-zaak/open-zaak","description":"API's voor Zaakgericht werken","fork":false,"url":"https://api.github.com/repos/open-zaak/open-zaak","forks_url":"https://api.github.com/repos/open-zaak/open-zaak/forks","keys_url":"https://api.github.com/repos/open-zaak/open-zaak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-zaak/open-zaak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-zaak/open-zaak/teams","hooks_url":"https://api.github.com/repos/open-zaak/open-zaak/hooks","issue_events_url":"https://api.github.com/repos/open-zaak/open-zaak/issues/events{/number}","events_url":"https://api.github.com/repos/open-zaak/open-zaak/events","assignees_url":"https://api.github.com/repos/open-zaak/open-zaak/assignees{/user}","branches_url":"https://api.github.com/repos/open-zaak/open-zaak/branches{/branch}","tags_url":"https://api.github.com/repos/open-zaak/open-zaak/tags","blobs_url":"https://api.github.com/repos/open-zaak/open-zaak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-zaak/open-zaak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-zaak/open-zaak/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-zaak/open-zaak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-zaak/open-zaak/statuses/{sha}","languages_url":"https://api.github.com/repos/open-zaak/open-zaak/languages","stargazers_url":"https://api.github.com/repos/open-zaak/open-zaak/stargazers","contributors_url":"https://api.github.com/repos/open-zaak/open-zaak/contributors","subscribers_url":"https://api.github.com/repos/open-zaak/open-zaak/subscribers","subscription_url":"https://api.github.com/repos/open-zaak/open-zaak/subscription","commits_url":"https://api.github.com/repos/open-zaak/open-zaak/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-zaak/open-zaak/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-zaak/open-zaak/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-zaak/open-zaak/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-zaak/open-zaak/contents/{+path}","compare_url":"https://api.github.com/repos/open-zaak/open-zaak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-zaak/open-zaak/merges","archive_url":"https://api.github.com/repos/open-zaak/open-zaak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-zaak/open-zaak/downloads","issues_url":"https://api.github.com/repos/open-zaak/open-zaak/issues{/number}","pulls_url":"https://api.github.com/repos/open-zaak/open-zaak/pulls{/number}","milestones_url":"https://api.github.com/repos/open-zaak/open-zaak/milestones{/number}","notifications_url":"https://api.github.com/repos/open-zaak/open-zaak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-zaak/open-zaak/labels{/name}","releases_url":"https://api.github.com/repos/open-zaak/open-zaak/releases{/id}","deployments_url":"https://api.github.com/repos/open-zaak/open-zaak/deployments","created_at":"2019-07-26T15:12:06Z","updated_at":"2020-01-02T14:01:52Z","pushed_at":"2020-01-02T14:21:42Z","git_url":"git://github.com/open-zaak/open-zaak.git","ssh_url":"git@github.com:open-zaak/open-zaak.git","clone_url":"https://github.com/open-zaak/open-zaak.git","svn_url":"https://github.com/open-zaak/open-zaak","homepage":null,"size":2842,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":70,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":70,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307"},"html":{"href":"https://github.com/open-zaak/open-zaak/pull/307"},"issue":{"href":"https://api.github.com/repos/open-zaak/open-zaak/issues/307"},"comments":{"href":"https://api.github.com/repos/open-zaak/open-zaak/issues/307/comments"},"review_comments":{"href":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307/comments"},"review_comment":{"href":"https://api.github.com/repos/open-zaak/open-zaak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-zaak/open-zaak/pulls/307/commits"},"statuses":{"href":"https://api.github.com/repos/open-zaak/open-zaak/statuses/1a61687ec041c79b7104bf47a3a81c846fcf597e"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"joeribekker"}}