{"action":"created","comment":{"url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/comments/138986898","pull_request_review_id":62858808,"id":138986898,"diff_hunk":"@@ -1,18 +1,31 @@\n using System.Collections.Generic;\n+using System.ComponentModel.DataAnnotations;\n using Microsoft.AspNetCore.Identity.EntityFrameworkCore;\n using Microsoft.AspNetCore.Mvc.Rendering;\n using NetCoreBootstrap.Models.Database;\n \n namespace NetCoreBootstrap.Models.Views\n {\n     public class UserManagementViewModel\n-    {\n+    {   \n+        [MinLength(4)]\n         public string Name { get; set; }\n         public string UserId { get; set; }\n+        public string RoleId { get; set; }\n         public string Email { get; set; }\n         public string NewRole { get; set; }\n         public List<SelectListItem> RolesListItem { get; set; }\n         public List<User> Users { get; set; }\n         public List<IdentityRole> Roles { get; set; }\n+\n+        [Display(Name = \"Current Password\"), DataType(DataType.Password)]\n+        public string Password { get; set; }\n+\n+        [MinLength(6), MaxLength(40), DataType(DataType.Password), Display(Name = \"New password\")]\n+        public string NewPassword { get; set; }\n+     \n+        [MinLength(6), MaxLength(40), DataType(DataType.Password), Display(Name = \"Confirm new password\")]","path":"Models/Views/UserManagementViewModel.cs","position":28,"original_position":28,"commit_id":"85093857afdcd30b6a7d2220677144a16e394a77","original_commit_id":"41d3fc3024eeb9d614ebcfae0898e44974dc06d9","user":{"login":"gussiciliano","id":19696200,"avatar_url":"https://avatars0.githubusercontent.com/u/19696200?v=4","gravatar_id":"","url":"https://api.github.com/users/gussiciliano","html_url":"https://github.com/gussiciliano","followers_url":"https://api.github.com/users/gussiciliano/followers","following_url":"https://api.github.com/users/gussiciliano/following{/other_user}","gists_url":"https://api.github.com/users/gussiciliano/gists{/gist_id}","starred_url":"https://api.github.com/users/gussiciliano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gussiciliano/subscriptions","organizations_url":"https://api.github.com/users/gussiciliano/orgs","repos_url":"https://api.github.com/users/gussiciliano/repos","events_url":"https://api.github.com/users/gussiciliano/events{/privacy}","received_events_url":"https://api.github.com/users/gussiciliano/received_events","type":"User","site_admin":false},"body":"done","created_at":"2017-09-14T19:19:15Z","updated_at":"2017-09-14T19:19:15Z","html_url":"https://github.com/Wolox/netcore-bootstrap/pull/35#discussion_r138986898","pull_request_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/comments/138986898"},"html":{"href":"https://github.com/Wolox/netcore-bootstrap/pull/35#discussion_r138986898"},"pull_request":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35"}},"in_reply_to_id":138912498},"pull_request":{"url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35","id":140929803,"html_url":"https://github.com/Wolox/netcore-bootstrap/pull/35","diff_url":"https://github.com/Wolox/netcore-bootstrap/pull/35.diff","patch_url":"https://github.com/Wolox/netcore-bootstrap/pull/35.patch","issue_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/35","number":35,"state":"open","locked":false,"title":"Google auth","user":{"login":"gzamudio","id":1482005,"avatar_url":"https://avatars0.githubusercontent.com/u/1482005?v=4","gravatar_id":"","url":"https://api.github.com/users/gzamudio","html_url":"https://github.com/gzamudio","followers_url":"https://api.github.com/users/gzamudio/followers","following_url":"https://api.github.com/users/gzamudio/following{/other_user}","gists_url":"https://api.github.com/users/gzamudio/gists{/gist_id}","starred_url":"https://api.github.com/users/gzamudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gzamudio/subscriptions","organizations_url":"https://api.github.com/users/gzamudio/orgs","repos_url":"https://api.github.com/users/gzamudio/repos","events_url":"https://api.github.com/users/gzamudio/events{/privacy}","received_events_url":"https://api.github.com/users/gzamudio/received_events","type":"User","site_admin":false},"body":"### Summary\r\nAdded:\r\n\r\n- Google authentication\r\n- Improves on identity auth\r\n- ABM Roles\r\n- Role Manager (allows to add and remove roles from users)\r\n- Change password to authenticated user.","created_at":"2017-09-13T21:04:28Z","updated_at":"2017-09-14T19:19:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6c6422482d75919199a9af0c5dd97b3da640a78","assignee":{"login":"truccomarcos","id":16925524,"avatar_url":"https://avatars0.githubusercontent.com/u/16925524?v=4","gravatar_id":"","url":"https://api.github.com/users/truccomarcos","html_url":"https://github.com/truccomarcos","followers_url":"https://api.github.com/users/truccomarcos/followers","following_url":"https://api.github.com/users/truccomarcos/following{/other_user}","gists_url":"https://api.github.com/users/truccomarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/truccomarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truccomarcos/subscriptions","organizations_url":"https://api.github.com/users/truccomarcos/orgs","repos_url":"https://api.github.com/users/truccomarcos/repos","events_url":"https://api.github.com/users/truccomarcos/events{/privacy}","received_events_url":"https://api.github.com/users/truccomarcos/received_events","type":"User","site_admin":false},"assignees":[{"login":"truccomarcos","id":16925524,"avatar_url":"https://avatars0.githubusercontent.com/u/16925524?v=4","gravatar_id":"","url":"https://api.github.com/users/truccomarcos","html_url":"https://github.com/truccomarcos","followers_url":"https://api.github.com/users/truccomarcos/followers","following_url":"https://api.github.com/users/truccomarcos/following{/other_user}","gists_url":"https://api.github.com/users/truccomarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/truccomarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truccomarcos/subscriptions","organizations_url":"https://api.github.com/users/truccomarcos/orgs","repos_url":"https://api.github.com/users/truccomarcos/repos","events_url":"https://api.github.com/users/truccomarcos/events{/privacy}","received_events_url":"https://api.github.com/users/truccomarcos/received_events","type":"User","site_admin":false},{"login":"gussiciliano","id":19696200,"avatar_url":"https://avatars0.githubusercontent.com/u/19696200?v=4","gravatar_id":"","url":"https://api.github.com/users/gussiciliano","html_url":"https://github.com/gussiciliano","followers_url":"https://api.github.com/users/gussiciliano/followers","following_url":"https://api.github.com/users/gussiciliano/following{/other_user}","gists_url":"https://api.github.com/users/gussiciliano/gists{/gist_id}","starred_url":"https://api.github.com/users/gussiciliano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gussiciliano/subscriptions","organizations_url":"https://api.github.com/users/gussiciliano/orgs","repos_url":"https://api.github.com/users/gussiciliano/repos","events_url":"https://api.github.com/users/gussiciliano/events{/privacy}","received_events_url":"https://api.github.com/users/gussiciliano/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"truccomarcos","id":16925524,"avatar_url":"https://avatars0.githubusercontent.com/u/16925524?v=4","gravatar_id":"","url":"https://api.github.com/users/truccomarcos","html_url":"https://github.com/truccomarcos","followers_url":"https://api.github.com/users/truccomarcos/followers","following_url":"https://api.github.com/users/truccomarcos/following{/other_user}","gists_url":"https://api.github.com/users/truccomarcos/gists{/gist_id}","starred_url":"https://api.github.com/users/truccomarcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truccomarcos/subscriptions","organizations_url":"https://api.github.com/users/truccomarcos/orgs","repos_url":"https://api.github.com/users/truccomarcos/repos","events_url":"https://api.github.com/users/truccomarcos/events{/privacy}","received_events_url":"https://api.github.com/users/truccomarcos/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35/commits","review_comments_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35/comments","review_comment_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/35/comments","statuses_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/statuses/85093857afdcd30b6a7d2220677144a16e394a77","head":{"label":"Wolox:google-auth","ref":"google-auth","sha":"85093857afdcd30b6a7d2220677144a16e394a77","user":{"login":"Wolox","id":1046241,"avatar_url":"https://avatars3.githubusercontent.com/u/1046241?v=4","gravatar_id":"","url":"https://api.github.com/users/Wolox","html_url":"https://github.com/Wolox","followers_url":"https://api.github.com/users/Wolox/followers","following_url":"https://api.github.com/users/Wolox/following{/other_user}","gists_url":"https://api.github.com/users/Wolox/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolox/subscriptions","organizations_url":"https://api.github.com/users/Wolox/orgs","repos_url":"https://api.github.com/users/Wolox/repos","events_url":"https://api.github.com/users/Wolox/events{/privacy}","received_events_url":"https://api.github.com/users/Wolox/received_events","type":"Organization","site_admin":false},"repo":{"id":95707667,"name":"netcore-bootstrap","full_name":"Wolox/netcore-bootstrap","owner":{"login":"Wolox","id":1046241,"avatar_url":"https://avatars3.githubusercontent.com/u/1046241?v=4","gravatar_id":"","url":"https://api.github.com/users/Wolox","html_url":"https://github.com/Wolox","followers_url":"https://api.github.com/users/Wolox/followers","following_url":"https://api.github.com/users/Wolox/following{/other_user}","gists_url":"https://api.github.com/users/Wolox/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolox/subscriptions","organizations_url":"https://api.github.com/users/Wolox/orgs","repos_url":"https://api.github.com/users/Wolox/repos","events_url":"https://api.github.com/users/Wolox/events{/privacy}","received_events_url":"https://api.github.com/users/Wolox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wolox/netcore-bootstrap","description":"Kickoff for NetCore applications using EntityFramework.","fork":false,"url":"https://api.github.com/repos/Wolox/netcore-bootstrap","forks_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/forks","keys_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/teams","hooks_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/events","assignees_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/tags","blobs_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/languages","stargazers_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/subscription","commits_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/merges","archive_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/downloads","issues_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/deployments","created_at":"2017-06-28T20:12:10Z","updated_at":"2017-09-13T18:11:02Z","pushed_at":"2017-09-14T17:42:19Z","git_url":"git://github.com/Wolox/netcore-bootstrap.git","ssh_url":"git@github.com:Wolox/netcore-bootstrap.git","clone_url":"https://github.com/Wolox/netcore-bootstrap.git","svn_url":"https://github.com/Wolox/netcore-bootstrap","homepage":"","size":772,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":5,"default_branch":"master"}},"base":{"label":"Wolox:master","ref":"master","sha":"2a47bcb44b52df01c4108a98c64422b838e2cfe6","user":{"login":"Wolox","id":1046241,"avatar_url":"https://avatars3.githubusercontent.com/u/1046241?v=4","gravatar_id":"","url":"https://api.github.com/users/Wolox","html_url":"https://github.com/Wolox","followers_url":"https://api.github.com/users/Wolox/followers","following_url":"https://api.github.com/users/Wolox/following{/other_user}","gists_url":"https://api.github.com/users/Wolox/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolox/subscriptions","organizations_url":"https://api.github.com/users/Wolox/orgs","repos_url":"https://api.github.com/users/Wolox/repos","events_url":"https://api.github.com/users/Wolox/events{/privacy}","received_events_url":"https://api.github.com/users/Wolox/received_events","type":"Organization","site_admin":false},"repo":{"id":95707667,"name":"netcore-bootstrap","full_name":"Wolox/netcore-bootstrap","owner":{"login":"Wolox","id":1046241,"avatar_url":"https://avatars3.githubusercontent.com/u/1046241?v=4","gravatar_id":"","url":"https://api.github.com/users/Wolox","html_url":"https://github.com/Wolox","followers_url":"https://api.github.com/users/Wolox/followers","following_url":"https://api.github.com/users/Wolox/following{/other_user}","gists_url":"https://api.github.com/users/Wolox/gists{/gist_id}","starred_url":"https://api.github.com/users/Wolox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wolox/subscriptions","organizations_url":"https://api.github.com/users/Wolox/orgs","repos_url":"https://api.github.com/users/Wolox/repos","events_url":"https://api.github.com/users/Wolox/events{/privacy}","received_events_url":"https://api.github.com/users/Wolox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wolox/netcore-bootstrap","description":"Kickoff for NetCore applications using EntityFramework.","fork":false,"url":"https://api.github.com/repos/Wolox/netcore-bootstrap","forks_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/forks","keys_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/teams","hooks_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/hooks","issue_events_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/events{/number}","events_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/events","assignees_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/assignees{/user}","branches_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/branches{/branch}","tags_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/tags","blobs_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/statuses/{sha}","languages_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/languages","stargazers_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/stargazers","contributors_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/contributors","subscribers_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/subscribers","subscription_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/subscription","commits_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/contents/{+path}","compare_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/merges","archive_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/downloads","issues_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues{/number}","pulls_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls{/number}","milestones_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/milestones{/number}","notifications_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/labels{/name}","releases_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/releases{/id}","deployments_url":"https://api.github.com/repos/Wolox/netcore-bootstrap/deployments","created_at":"2017-06-28T20:12:10Z","updated_at":"2017-09-13T18:11:02Z","pushed_at":"2017-09-14T17:42:19Z","git_url":"git://github.com/Wolox/netcore-bootstrap.git","ssh_url":"git@github.com:Wolox/netcore-bootstrap.git","clone_url":"https://github.com/Wolox/netcore-bootstrap.git","svn_url":"https://github.com/Wolox/netcore-bootstrap","homepage":"","size":772,"stargazers_count":5,"watchers_count":5,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35"},"html":{"href":"https://github.com/Wolox/netcore-bootstrap/pull/35"},"issue":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/35"},"comments":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/Wolox/netcore-bootstrap/statuses/85093857afdcd30b6a7d2220677144a16e394a77"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gussiciliano"}}