{"action":"created","issue":{"url":"https://api.github.com/repos/propertunist/interconnected/issues/1","repository_url":"https://api.github.com/repos/propertunist/interconnected","labels_url":"https://api.github.com/repos/propertunist/interconnected/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/propertunist/interconnected/issues/1/comments","events_url":"https://api.github.com/repos/propertunist/interconnected/issues/1/events","html_url":"https://github.com/propertunist/interconnected/issues/1","id":135432288,"number":1,"title":"Groups and groups content are always sharable even if they are not public","user":{"login":"oseg","id":15892521,"avatar_url":"https://avatars.githubusercontent.com/u/15892521?v=3","gravatar_id":"","url":"https://api.github.com/users/oseg","html_url":"https://github.com/oseg","followers_url":"https://api.github.com/users/oseg/followers","following_url":"https://api.github.com/users/oseg/following{/other_user}","gists_url":"https://api.github.com/users/oseg/gists{/gist_id}","starred_url":"https://api.github.com/users/oseg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oseg/subscriptions","organizations_url":"https://api.github.com/users/oseg/orgs","repos_url":"https://api.github.com/users/oseg/repos","events_url":"https://api.github.com/users/oseg/events{/privacy}","received_events_url":"https://api.github.com/users/oseg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T14:23:10Z","updated_at":"2016-02-22T16:04:53Z","closed_at":null,"body":"There is a small } bug in get_sharing_data_for_current_page() in lib/interconnected.php file\r\nIf $entity is a group then $access_id is never initialized\r\nSuggested fix:\r\n\r\n                    case 'videolist_item':\r\n                    default:\r\n                    {\r\n                        $icon_url = $entity->getIconURL($size);\r\n                        $full_icon_url = $entity->getIconURL($full_size);\r\n                        $description = $entity->description;\r\n                        $subtext = elgg_echo('interconnected:' . $subtype) .' ' . $author . '... ';\r\n                        $type = 'article';\r\n                        break;\r\n                    }\r\n                }               \r\n            }\r\n            if (!$access_id)\r\n                $access_id = $entity->access_id;\r\n\r\n            if ($access_id != 2)\r\n            {\r\n                $content['access_denied'] = TRUE;\r\n            } \r\n        }\r\n        else // there is no specific entity on the page, then look at contexts next\r\n"},"comment":{"url":"https://api.github.com/repos/propertunist/interconnected/issues/comments/187245929","html_url":"https://github.com/propertunist/interconnected/issues/1#issuecomment-187245929","issue_url":"https://api.github.com/repos/propertunist/interconnected/issues/1","id":187245929,"user":{"login":"propertunist","id":513903,"avatar_url":"https://avatars.githubusercontent.com/u/513903?v=3","gravatar_id":"","url":"https://api.github.com/users/propertunist","html_url":"https://github.com/propertunist","followers_url":"https://api.github.com/users/propertunist/followers","following_url":"https://api.github.com/users/propertunist/following{/other_user}","gists_url":"https://api.github.com/users/propertunist/gists{/gist_id}","starred_url":"https://api.github.com/users/propertunist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/propertunist/subscriptions","organizations_url":"https://api.github.com/users/propertunist/orgs","repos_url":"https://api.github.com/users/propertunist/repos","events_url":"https://api.github.com/users/propertunist/events{/privacy}","received_events_url":"https://api.github.com/users/propertunist/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T16:04:53Z","updated_at":"2016-02-22T16:04:53Z","body":"right, ok - yes - that is probably a good idea, i'll look at that asap."}}