{"action":"created","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/602","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/602/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/602/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/602/events","html_url":"https://github.com/hydroshare/hydroshare/pull/602","id":104605037,"number":602,"title":"[WIP] [#564] discoverable property","user":{"login":"mauriel133","id":2448568,"avatar_url":"https://avatars.githubusercontent.com/u/2448568?v=3","gravatar_id":"","url":"https://api.github.com/users/mauriel133","html_url":"https://github.com/mauriel133","followers_url":"https://api.github.com/users/mauriel133/followers","following_url":"https://api.github.com/users/mauriel133/following{/other_user}","gists_url":"https://api.github.com/users/mauriel133/gists{/gist_id}","starred_url":"https://api.github.com/users/mauriel133/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauriel133/subscriptions","organizations_url":"https://api.github.com/users/mauriel133/orgs","repos_url":"https://api.github.com/users/mauriel133/repos","events_url":"https://api.github.com/users/mauriel133/events{/privacy}","received_events_url":"https://api.github.com/users/mauriel133/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/Code%20Review%20-%20Review%20Me%20Please!","name":"Code Review - Review Me Please!","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-03T01:44:06Z","updated_at":"2015-09-18T17:45:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hydroshare/hydroshare/pulls/602","html_url":"https://github.com/hydroshare/hydroshare/pull/602","diff_url":"https://github.com/hydroshare/hydroshare/pull/602.diff","patch_url":"https://github.com/hydroshare/hydroshare/pull/602.patch"},"body":"These changes adds and implement the discoverable property for resources. \r\n>\r\nPrivate. Internally this would be private + not discoverable\r\nDiscoverable (metadata is public but data protected). Internally this is private + discoverable. For the purposes of HydroShare data is only the content files in iRODS. Everything else, including all information in Django tables, is metadata and thus public.\r\nPublic. Internally this would be public + discoverable.\r\n\r\n\r\nTodo:\r\n- [ ] Implement is_view_user flag. This will allow users with view permissions to see the content files of private or discoverable resource.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments/141517568","html_url":"https://github.com/hydroshare/hydroshare/pull/602#issuecomment-141517568","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/602","id":141517568,"user":{"login":"horsburgh","id":3485902,"avatar_url":"https://avatars.githubusercontent.com/u/3485902?v=3","gravatar_id":"","url":"https://api.github.com/users/horsburgh","html_url":"https://github.com/horsburgh","followers_url":"https://api.github.com/users/horsburgh/followers","following_url":"https://api.github.com/users/horsburgh/following{/other_user}","gists_url":"https://api.github.com/users/horsburgh/gists{/gist_id}","starred_url":"https://api.github.com/users/horsburgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horsburgh/subscriptions","organizations_url":"https://api.github.com/users/horsburgh/orgs","repos_url":"https://api.github.com/users/horsburgh/repos","events_url":"https://api.github.com/users/horsburgh/events{/privacy}","received_events_url":"https://api.github.com/users/horsburgh/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T17:45:16Z","updated_at":"2015-09-18T17:45:16Z","body":"This attribute is to allow for discoverable resources with private content. For example - I want everyone to know about the resource that I created, but I don't want them to have access to the files unless they contact me for specific permission.\r\n\r\nWhen a resource in this category is \"discovered\" and a user clicks on the link, they are taken to the resource's landing page.  All of the resource's metadata will display as normal.  However, the content files will not be available for the user to access unless the user has been given specific access to the resource.  @mauriel133 can clarify if I am messing any of this up."}}