{"action":"created","issue":{"url":"https://api.github.com/repos/levelp/BankWebApp/issues/23","labels_url":"https://api.github.com/repos/levelp/BankWebApp/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/levelp/BankWebApp/issues/23/comments","events_url":"https://api.github.com/repos/levelp/BankWebApp/issues/23/events","html_url":"https://github.com/levelp/BankWebApp/issues/23","id":110848506,"number":23,"title":"Добавить в класс User новые поля: boolean enabled и String userRole.","user":{"login":"Vyacheslav01","id":3705344,"avatar_url":"https://avatars.githubusercontent.com/u/3705344?v=3","gravatar_id":"","url":"https://api.github.com/users/Vyacheslav01","html_url":"https://github.com/Vyacheslav01","followers_url":"https://api.github.com/users/Vyacheslav01/followers","following_url":"https://api.github.com/users/Vyacheslav01/following{/other_user}","gists_url":"https://api.github.com/users/Vyacheslav01/gists{/gist_id}","starred_url":"https://api.github.com/users/Vyacheslav01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vyacheslav01/subscriptions","organizations_url":"https://api.github.com/users/Vyacheslav01/orgs","repos_url":"https://api.github.com/users/Vyacheslav01/repos","events_url":"https://api.github.com/users/Vyacheslav01/events{/privacy}","received_events_url":"https://api.github.com/users/Vyacheslav01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-11T10:51:32Z","updated_at":"2015-10-12T04:32:59Z","closed_at":null,"body":"поле boolean enabled имеет два значения: true & false. Выставление значения в true позволит пользователю приложения (админу и клиенту) авторизоваться. Значение поля false запретит клиенту авторизоваться в системе (он не удаляется из БД). В функции системы \"удалить клиента\" можно реализовать такой способ запрета авторизации.\r\n\r\nполе String userRole. \r\nоно может иметь два значения: role_admin & role_user. role_admin наделяет пользователя системы адиминистративными правами. role_user - это клиент банка."},"comment":{"url":"https://api.github.com/repos/levelp/BankWebApp/issues/comments/147290097","html_url":"https://github.com/levelp/BankWebApp/issues/23#issuecomment-147290097","issue_url":"https://api.github.com/repos/levelp/BankWebApp/issues/23","id":147290097,"user":{"login":"skhomchenko","id":13517546,"avatar_url":"https://avatars.githubusercontent.com/u/13517546?v=3","gravatar_id":"","url":"https://api.github.com/users/skhomchenko","html_url":"https://github.com/skhomchenko","followers_url":"https://api.github.com/users/skhomchenko/followers","following_url":"https://api.github.com/users/skhomchenko/following{/other_user}","gists_url":"https://api.github.com/users/skhomchenko/gists{/gist_id}","starred_url":"https://api.github.com/users/skhomchenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skhomchenko/subscriptions","organizations_url":"https://api.github.com/users/skhomchenko/orgs","repos_url":"https://api.github.com/users/skhomchenko/repos","events_url":"https://api.github.com/users/skhomchenko/events{/privacy}","received_events_url":"https://api.github.com/users/skhomchenko/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T04:32:59Z","updated_at":"2015-10-12T04:32:59Z","body":"Согласен в BankAccount можно такой функционал добавить. \r\nНазвание да можно дать любое главное, чтобы смысл отображало. \r\nДа, конечно, ролей будет всего две. Я писал с расчетом на расширение)). В целом можно оставить и string."}}