{"action":"created","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/2865","repository_url":"https://api.github.com/repos/hydroshare/hydroshare","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/2865/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/2865/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/2865/events","html_url":"https://github.com/hydroshare/hydroshare/issues/2865","id":348958772,"node_id":"MDU6SXNzdWUzNDg5NTg3NzI=","number":2865,"title":"Resource without content files should not be made public","user":{"login":"dtarb","id":3456833,"node_id":"MDQ6VXNlcjM0NTY4MzM=","avatar_url":"https://avatars1.githubusercontent.com/u/3456833?v=4","gravatar_id":"","url":"https://api.github.com/users/dtarb","html_url":"https://github.com/dtarb","followers_url":"https://api.github.com/users/dtarb/followers","following_url":"https://api.github.com/users/dtarb/following{/other_user}","gists_url":"https://api.github.com/users/dtarb/gists{/gist_id}","starred_url":"https://api.github.com/users/dtarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtarb/subscriptions","organizations_url":"https://api.github.com/users/dtarb/orgs","repos_url":"https://api.github.com/users/dtarb/repos","events_url":"https://api.github.com/users/dtarb/events{/privacy}","received_events_url":"https://api.github.com/users/dtarb/received_events","type":"User","site_admin":false},"labels":[{"id":929206672,"node_id":"MDU6TGFiZWw5MjkyMDY2NzI=","url":"https://api.github.com/repos/hydroshare/hydroshare/labels/(1)%20Small%20Effort","name":"(1) Small Effort","color":"fcfbae","default":false},{"id":208375129,"node_id":"MDU6TGFiZWwyMDgzNzUxMjk=","url":"https://api.github.com/repos/hydroshare/hydroshare/labels/Close%20Me!","name":"Close Me!","color":"5319e7","default":false},{"id":433017943,"node_id":"MDU6TGFiZWw0MzMwMTc5NDM=","url":"https://api.github.com/repos/hydroshare/hydroshare/labels/High%20Priority","name":"High Priority","color":"b60205","default":false},{"id":134185690,"node_id":"MDU6TGFiZWwxMzQxODU2OTA=","url":"https://api.github.com/repos/hydroshare/hydroshare/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"hyi","id":476302,"node_id":"MDQ6VXNlcjQ3NjMwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/476302?v=4","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false},"assignees":[{"login":"hyi","id":476302,"node_id":"MDQ6VXNlcjQ3NjMwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/476302?v=4","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-09T03:01:51Z","updated_at":"2018-09-13T20:05:45Z","closed_at":null,"author_association":"MEMBER","body":"It is possible to create resources without content that are public.  Ways to do this seem to be\r\n\r\nAs reported by @horsburgh . I used the EnviroDIY website to create this resource:\r\nhttps://www.hydroshare.org/resource/6e97cc54c6ce448ab32367388a12b793/\r\nSomething went wrong in copying the data file over, so there are no content files in this resource. However, the resource is public! \r\n\r\nAlso I created a new composite resource, and gave it a title, abstract and keywords, without adding any files.  I get the message that it can be made public.  I can click the public button, and even though I get a warning about it needing file content, it still gets made public.\r\n\r\nI was able to do the same with a generic resource."},"comment":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/comments/421135496","html_url":"https://github.com/hydroshare/hydroshare/issues/2865#issuecomment-421135496","issue_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/2865","id":421135496,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTEzNTQ5Ng==","user":{"login":"engineSound","id":35352595,"node_id":"MDQ6VXNlcjM1MzUyNTk1","avatar_url":"https://avatars0.githubusercontent.com/u/35352595?v=4","gravatar_id":"","url":"https://api.github.com/users/engineSound","html_url":"https://github.com/engineSound","followers_url":"https://api.github.com/users/engineSound/followers","following_url":"https://api.github.com/users/engineSound/following{/other_user}","gists_url":"https://api.github.com/users/engineSound/gists{/gist_id}","starred_url":"https://api.github.com/users/engineSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engineSound/subscriptions","organizations_url":"https://api.github.com/users/engineSound/orgs","repos_url":"https://api.github.com/users/engineSound/repos","events_url":"https://api.github.com/users/engineSound/events{/privacy}","received_events_url":"https://api.github.com/users/engineSound/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T20:05:45Z","updated_at":"2018-09-13T20:05:45Z","author_association":"CONTRIBUTOR","body":"Hong, where is the testing site I can verify your fix. "}}
{"actor":{"display_login":"engineSound"}}