{"action":"closed","issue":{"url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui/issues/15","repository_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui","labels_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui/issues/15/comments","events_url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui/issues/15/events","html_url":"https://github.com/grails-plugins/grails-spring-security-ui/issues/15","id":6874018,"node_id":"MDU6SXNzdWU2ODc0MDE4","number":15,"title":"User Registration semantics (enabled >< accountLocked)","user":{"login":"wavyx","id":637620,"node_id":"MDQ6VXNlcjYzNzYyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/637620?v=4","gravatar_id":"","url":"https://api.github.com/users/wavyx","html_url":"https://github.com/wavyx","followers_url":"https://api.github.com/users/wavyx/followers","following_url":"https://api.github.com/users/wavyx/following{/other_user}","gists_url":"https://api.github.com/users/wavyx/gists{/gist_id}","starred_url":"https://api.github.com/users/wavyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wavyx/subscriptions","organizations_url":"https://api.github.com/users/wavyx/orgs","repos_url":"https://api.github.com/users/wavyx/repos","events_url":"https://api.github.com/users/wavyx/events{/privacy}","received_events_url":"https://api.github.com/users/wavyx/received_events","type":"User","site_admin":false},"labels":[{"id":706700404,"node_id":"MDU6TGFiZWw3MDY3MDA0MDQ=","url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui/labels/Not%20a%20Bug","name":"Not a Bug","color":"207de5","default":false},{"id":706700202,"node_id":"MDU6TGFiZWw3MDY3MDAyMDI=","url":"https://api.github.com/repos/grails-plugins/grails-spring-security-ui/labels/Won't%20Fix","name":"Won't Fix","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2012-09-14T12:15:26Z","updated_at":"2018-06-26T21:43:16Z","closed_at":"2018-06-26T21:43:15Z","author_association":"NONE","body":"Hi,\n\nI have a question about the proper use of user.enabled and user.accountLocked\nBy default the registration, create a  user with enabled=true and accountLocked = true.\nWhen clicking the verification link https://github.com/grails-plugins/grails-spring-security-ui/blob/master/grails-app/controllers/grails/plugins/springsecurity/ui/RegisterController.groovy accountLocked is set to false.\n\nThis works but I wonder if by default, it should not be user.enabled = false and user.accountLocked = false. Locking is a manual decision to prohibit user access, enabled sounds the right place to handle opt-in registrations.\n\nWhat do you think ?\n"}}
{"actor":{"display_login":"ddelponte"}}