{"action":"opened","issue":{"url":"https://api.github.com/repos/fmfi-svt/anketa/issues/206","labels_url":"https://api.github.com/repos/fmfi-svt/anketa/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/fmfi-svt/anketa/issues/206/comments","events_url":"https://api.github.com/repos/fmfi-svt/anketa/issues/206/events","html_url":"https://github.com/fmfi-svt/anketa/issues/206","id":121794220,"number":206,"title":"Upraviť blokovanie výsledkov učiteľa","user":{"login":"tvinar","id":2872675,"avatar_url":"https://avatars.githubusercontent.com/u/2872675?v=3","gravatar_id":"","url":"https://api.github.com/users/tvinar","html_url":"https://github.com/tvinar","followers_url":"https://api.github.com/users/tvinar/followers","following_url":"https://api.github.com/users/tvinar/following{/other_user}","gists_url":"https://api.github.com/users/tvinar/gists{/gist_id}","starred_url":"https://api.github.com/users/tvinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvinar/subscriptions","organizations_url":"https://api.github.com/users/tvinar/orgs","repos_url":"https://api.github.com/users/tvinar/repos","events_url":"https://api.github.com/users/tvinar/events{/privacy}","received_events_url":"https://api.github.com/users/tvinar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fmfi-svt/anketa/milestones/2","html_url":"https://github.com/fmfi-svt/anketa/milestones/v%C3%BDsledky%20zima%202015","labels_url":"https://api.github.com/repos/fmfi-svt/anketa/milestones/2/labels","id":1456692,"number":2,"title":"výsledky zima 2015","description":"","creator":{"login":"tvinar","id":2872675,"avatar_url":"https://avatars.githubusercontent.com/u/2872675?v=3","gravatar_id":"","url":"https://api.github.com/users/tvinar","html_url":"https://github.com/tvinar","followers_url":"https://api.github.com/users/tvinar/followers","following_url":"https://api.github.com/users/tvinar/following{/other_user}","gists_url":"https://api.github.com/users/tvinar/gists{/gist_id}","starred_url":"https://api.github.com/users/tvinar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvinar/subscriptions","organizations_url":"https://api.github.com/users/tvinar/orgs","repos_url":"https://api.github.com/users/tvinar/repos","events_url":"https://api.github.com/users/tvinar/events{/privacy}","received_events_url":"https://api.github.com/users/tvinar/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-12-11T20:53:55Z","updated_at":"2015-12-11T21:23:45Z","due_on":"2016-01-28T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-12-11T21:23:45Z","updated_at":"2015-12-11T21:23:45Z","closed_at":null,"body":"Blokovanie výsledkov učiteľa v prípade, že má nastavené hideAllResults=1, práve pri všetkých otázkach, ktoré sú asociované s týmto učiteľom (t.j. obvykle sekcia predmet-učiteľ). Namiesto výsledkov sa zobrazí hláška \"Tento učiteľ nesúhlasí so zverejnením jeho výsledkov.\" resp. \"This teacher did not agree to publish the responses.\" \r\n\r\n(Toto už je pravdepodobne implementované, no ešte by tam mal byť ďalší kód, ktorý v niektorých prípadoch blokuje výsledky predmetu. Tento kód by nemal byť potrebný, otázky o predmete by nemali byť blokované. Kód asi zakomentovať, keby sa predsa len ukázalo, že ho treba ;))\r\n\r\nVýnimka: používatelia s ADMIN privilégiami vidia všetky výsledky.\r\nMožno výnimka (?): používatelia, ktorí majú privilégiá na report príslušnej katedry tiež vidia výsledky učiteľa priradeného k danej katedre."}}