{"action":"created","issue":{"url":"https://api.github.com/repos/rivnefish/rivnefish/issues/10","labels_url":"https://api.github.com/repos/rivnefish/rivnefish/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/rivnefish/rivnefish/issues/10/comments","events_url":"https://api.github.com/repos/rivnefish/rivnefish/issues/10/events","html_url":"https://github.com/rivnefish/rivnefish/issues/10","id":62521935,"number":10,"title":"Не виводити водойми у яких approval=\"rejected\"","user":{"login":"stal1n274","id":5851581,"avatar_url":"https://avatars.githubusercontent.com/u/5851581?v=3","gravatar_id":"","url":"https://api.github.com/users/stal1n274","html_url":"https://github.com/stal1n274","followers_url":"https://api.github.com/users/stal1n274/followers","following_url":"https://api.github.com/users/stal1n274/following{/other_user}","gists_url":"https://api.github.com/users/stal1n274/gists{/gist_id}","starred_url":"https://api.github.com/users/stal1n274/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stal1n274/subscriptions","organizations_url":"https://api.github.com/users/stal1n274/orgs","repos_url":"https://api.github.com/users/stal1n274/repos","events_url":"https://api.github.com/users/stal1n274/events{/privacy}","received_events_url":"https://api.github.com/users/stal1n274/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rivnefish/rivnefish/labels/prio:normal","name":"prio:normal","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"devrivne","id":7127333,"avatar_url":"https://avatars.githubusercontent.com/u/7127333?v=3","gravatar_id":"","url":"https://api.github.com/users/devrivne","html_url":"https://github.com/devrivne","followers_url":"https://api.github.com/users/devrivne/followers","following_url":"https://api.github.com/users/devrivne/following{/other_user}","gists_url":"https://api.github.com/users/devrivne/gists{/gist_id}","starred_url":"https://api.github.com/users/devrivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devrivne/subscriptions","organizations_url":"https://api.github.com/users/devrivne/orgs","repos_url":"https://api.github.com/users/devrivne/repos","events_url":"https://api.github.com/users/devrivne/events{/privacy}","received_events_url":"https://api.github.com/users/devrivne/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-03-17T21:24:42Z","updated_at":"2015-03-20T04:50:52Z","closed_at":null,"body":"Наші користувачі додають водойми на мапу. \r\n\r\nЯкщо якість інформації в них низька, ми їх відкидаємо і не виводимо. \r\nЗа це відповідає поле ```approval``` воно має три значення:\r\n1. approved\r\n2. pending\r\n3. rejected\r\n\r\nВсі методи не повинні вибирати з бази даних записи у яких approval=\"rejected\"\r\nЯк приклад можна подивитись водойму з id=377\r\n\r\nТип маркерів, що повертається має визначатись правами користувача. Тобто користувач, токен якого юзає андроїд, має мати таку роль, яка дозволяє йому бачити лише апрувнуті маркери. Такий собі policy scope."},"comment":{"url":"https://api.github.com/repos/rivnefish/rivnefish/issues/comments/83903700","html_url":"https://github.com/rivnefish/rivnefish/issues/10#issuecomment-83903700","issue_url":"https://api.github.com/repos/rivnefish/rivnefish/issues/10","id":83903700,"user":{"login":"ttp","id":52537,"avatar_url":"https://avatars.githubusercontent.com/u/52537?v=3","gravatar_id":"","url":"https://api.github.com/users/ttp","html_url":"https://github.com/ttp","followers_url":"https://api.github.com/users/ttp/followers","following_url":"https://api.github.com/users/ttp/following{/other_user}","gists_url":"https://api.github.com/users/ttp/gists{/gist_id}","starred_url":"https://api.github.com/users/ttp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttp/subscriptions","organizations_url":"https://api.github.com/users/ttp/orgs","repos_url":"https://api.github.com/users/ttp/repos","events_url":"https://api.github.com/users/ttp/events{/privacy}","received_events_url":"https://api.github.com/users/ttp/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T04:50:52Z","updated_at":"2015-03-20T04:50:52Z","body":"Інструмент і так є, питання лише скільки кроків він вимагає.\n1. Заходиш в галереї, видаляєш галерею\n2. Заходиш в пости, видаляєш пост\n3. Заходиш в маркери, видаляєш маркер\n\nТому я б сказав зробити зручніший інструмент"}}