{"action":"created","issue":{"url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/628","repository_url":"https://api.github.com/repos/opencaching/opencaching-pl","labels_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/628/comments","events_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/628/events","html_url":"https://github.com/opencaching/opencaching-pl/issues/628","id":155281671,"number":628,"title":"Prevent cache adoption by users under verification. ","user":{"login":"kojoty","id":2961448,"avatar_url":"https://avatars.githubusercontent.com/u/2961448?v=3","gravatar_id":"","url":"https://api.github.com/users/kojoty","html_url":"https://github.com/kojoty","followers_url":"https://api.github.com/users/kojoty/followers","following_url":"https://api.github.com/users/kojoty/following{/other_user}","gists_url":"https://api.github.com/users/kojoty/gists{/gist_id}","starred_url":"https://api.github.com/users/kojoty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kojoty/subscriptions","organizations_url":"https://api.github.com/users/kojoty/orgs","repos_url":"https://api.github.com/users/kojoty/repos","events_url":"https://api.github.com/users/kojoty/events{/privacy}","received_events_url":"https://api.github.com/users/kojoty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opencaching/opencaching-pl/labels/Component_Cache","name":"Component_Cache","color":"c7def8"},{"url":"https://api.github.com/repos/opencaching/opencaching-pl/labels/Priority_High","name":"Priority_High","color":"fad8c7"},{"url":"https://api.github.com/repos/opencaching/opencaching-pl/labels/Requester_OCPL_COG","name":"Requester_OCPL_COG","color":"d4c5f9"},{"url":"https://api.github.com/repos/opencaching/opencaching-pl/labels/Type_Defect","name":"Type_Defect","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-17T14:57:23Z","updated_at":"2016-05-24T22:40:51Z","closed_at":null,"body":"message from ocpl COG:\r\n\r\n> \r\n> Cześć\r\n> W imieniu COG (zmiana została przegłosowana) proszę o wprowadzenie mechanizmu zakazu adpocji skrzynek przez użytkowników, których skrzynki podlegają weryfikacji. \r\n> Od strony algorytmu widzę to jako dodanie warunku:\r\n> po kliknięciu \"zmień właściciela\" jest sprawdzany warunek czy skrzynki użytkownika są weryfikowane, \r\n> jeśli tak to pojawia się komunikat na stronie \"Ten użytkownik nie może adoptować skrzynek\" \r\n> jeśli nie to działa tak jak w tej chwili.\r\n> \r\n> Po wprowadzeniu zmiany proszę o powiadomienie mnie (nas) wtedy wystosuję odpowiedni komunikat na forum.\r\n> \r\n> Obecnie jest to wykorzystywany (świadomie lub nie) sposób na obejście weryfikacji skrzynek. Ktoś zakłada trzy skrzynki, drugi je adoptuje i nawet nie mając znalezionej żadnej skrzynki może zakładać kolejne bez weryfikacji. \r\n> \r\n> Pozdrawiam i dziękuję \r\n> brasia / COG"},"comment":{"url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/comments/221423603","html_url":"https://github.com/opencaching/opencaching-pl/issues/628#issuecomment-221423603","issue_url":"https://api.github.com/repos/opencaching/opencaching-pl/issues/628","id":221423603,"user":{"login":"mzylowski","id":13780868,"avatar_url":"https://avatars.githubusercontent.com/u/13780868?v=3","gravatar_id":"","url":"https://api.github.com/users/mzylowski","html_url":"https://github.com/mzylowski","followers_url":"https://api.github.com/users/mzylowski/followers","following_url":"https://api.github.com/users/mzylowski/following{/other_user}","gists_url":"https://api.github.com/users/mzylowski/gists{/gist_id}","starred_url":"https://api.github.com/users/mzylowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mzylowski/subscriptions","organizations_url":"https://api.github.com/users/mzylowski/orgs","repos_url":"https://api.github.com/users/mzylowski/repos","events_url":"https://api.github.com/users/mzylowski/events{/privacy}","received_events_url":"https://api.github.com/users/mzylowski/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T22:40:51Z","updated_at":"2016-05-24T22:40:51Z","body":"This should be done via user class.\r\nWe have to create method in User class, for example: cacheNeedBeVerified (renturned true/false) where we check all conditions.\r\nThis method should be called from adoption code. That's all :)"}}
{"actor":{"display_login":"mzylowski"}}