{"action":"created","issue":{"url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/1460","repository_url":"https://api.github.com/repos/Cadasta/cadasta-platform","labels_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/1460/labels{/name}","comments_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/1460/comments","events_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/1460/events","html_url":"https://github.com/Cadasta/cadasta-platform/issues/1460","id":225812309,"number":1460,"title":"Public user is able to view sidebar in a project","user":{"login":"clash99","id":1119621,"avatar_url":"https://avatars3.githubusercontent.com/u/1119621?v=3","gravatar_id":"","url":"https://api.github.com/users/clash99","html_url":"https://github.com/clash99","followers_url":"https://api.github.com/users/clash99/followers","following_url":"https://api.github.com/users/clash99/following{/other_user}","gists_url":"https://api.github.com/users/clash99/gists{/gist_id}","starred_url":"https://api.github.com/users/clash99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clash99/subscriptions","organizations_url":"https://api.github.com/users/clash99/orgs","repos_url":"https://api.github.com/users/clash99/repos","events_url":"https://api.github.com/users/clash99/events{/privacy}","received_events_url":"https://api.github.com/users/clash99/received_events","type":"User","site_admin":false},"labels":[{"id":285360363,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/bug","name":"bug","color":"ff9900","default":true},{"id":603096806,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/permissions","name":"permissions","color":"999999","default":false},{"id":319853178,"url":"https://api.github.com/repos/Cadasta/cadasta-platform/labels/priority:%20medium","name":"priority: medium","color":"3c78d8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-02T20:31:38Z","updated_at":"2017-05-24T16:26:45Z","closed_at":null,"body":"### Steps to reproduce the error\r\n\r\nLogin as a public user of a project.  The user should not be able to view the left subnav of a project. (Original development part of ﻿#942)\r\n\r\n### Actual behavior\r\n\r\nI can view the project subnav.  It seems as though `is_project_member` is not working as expected.\r\n\r\n### Expected behavior\r\n\r\nPublic user shouldn't be able to view the project subnav.\r\n\r\n\r\n\r\n**ON STAGING, logged in as public user:**\r\n<img width=\"1440\" alt=\"screenshot 2017-05-02 15 19 15\" src=\"https://cloud.githubusercontent.com/assets/1119621/25637473/bf469fa2-2f4a-11e7-95df-1e4a9ff07258.png\">\r\n\r\n<img width=\"1438\" alt=\"screenshot 2017-05-02 15 18 12\" src=\"https://cloud.githubusercontent.com/assets/1119621/25639483/b3552ad6-2f51-11e7-9c8f-537d1fcebcf8.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/comments/303777633","html_url":"https://github.com/Cadasta/cadasta-platform/issues/1460#issuecomment-303777633","issue_url":"https://api.github.com/repos/Cadasta/cadasta-platform/issues/1460","id":303777633,"user":{"login":"dpalomino","id":17198051,"avatar_url":"https://avatars0.githubusercontent.com/u/17198051?v=3","gravatar_id":"","url":"https://api.github.com/users/dpalomino","html_url":"https://github.com/dpalomino","followers_url":"https://api.github.com/users/dpalomino/followers","following_url":"https://api.github.com/users/dpalomino/following{/other_user}","gists_url":"https://api.github.com/users/dpalomino/gists{/gist_id}","starred_url":"https://api.github.com/users/dpalomino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpalomino/subscriptions","organizations_url":"https://api.github.com/users/dpalomino/orgs","repos_url":"https://api.github.com/users/dpalomino/repos","events_url":"https://api.github.com/users/dpalomino/events{/privacy}","received_events_url":"https://api.github.com/users/dpalomino/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T16:26:45Z","updated_at":"2017-05-24T16:26:45Z","body":"There is a PR ongoing that should fix the issue, #1515 "}}
{"actor":{"display_login":"dpalomino"}}