{"action":"opened","issue":{"url":"https://api.github.com/repos/mconf/mconf-web/issues/655","repository_url":"https://api.github.com/repos/mconf/mconf-web","labels_url":"https://api.github.com/repos/mconf/mconf-web/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/mconf/mconf-web/issues/655/comments","events_url":"https://api.github.com/repos/mconf/mconf-web/issues/655/events","html_url":"https://github.com/mconf/mconf-web/issues/655","id":153662757,"number":655,"title":"Confirmation emails for registration via Shibboleth and LDAP","user":{"login":"mconf-daileon","id":1714273,"avatar_url":"https://avatars.githubusercontent.com/u/1714273?v=3","gravatar_id":"","url":"https://api.github.com/users/mconf-daileon","html_url":"https://github.com/mconf-daileon","followers_url":"https://api.github.com/users/mconf-daileon/followers","following_url":"https://api.github.com/users/mconf-daileon/following{/other_user}","gists_url":"https://api.github.com/users/mconf-daileon/gists{/gist_id}","starred_url":"https://api.github.com/users/mconf-daileon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mconf-daileon/subscriptions","organizations_url":"https://api.github.com/users/mconf-daileon/orgs","repos_url":"https://api.github.com/users/mconf-daileon/repos","events_url":"https://api.github.com/users/mconf-daileon/events{/privacy}","received_events_url":"https://api.github.com/users/mconf-daileon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mconf/mconf-web/labels/prio:high","name":"prio:high","color":"b60205"},{"url":"https://api.github.com/repos/mconf/mconf-web/labels/type:bug","name":"type:bug","color":"b60205"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mconf/mconf-web/milestones/2","html_url":"https://github.com/mconf/mconf-web/milestones/v2.0.0","labels_url":"https://api.github.com/repos/mconf/mconf-web/milestones/2/labels","id":1753269,"number":2,"title":"v2.0.0","description":null,"creator":{"login":"mconf-daileon","id":1714273,"avatar_url":"https://avatars.githubusercontent.com/u/1714273?v=3","gravatar_id":"","url":"https://api.github.com/users/mconf-daileon","html_url":"https://github.com/mconf-daileon","followers_url":"https://api.github.com/users/mconf-daileon/followers","following_url":"https://api.github.com/users/mconf-daileon/following{/other_user}","gists_url":"https://api.github.com/users/mconf-daileon/gists{/gist_id}","starred_url":"https://api.github.com/users/mconf-daileon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mconf-daileon/subscriptions","organizations_url":"https://api.github.com/users/mconf-daileon/orgs","repos_url":"https://api.github.com/users/mconf-daileon/repos","events_url":"https://api.github.com/users/mconf-daileon/events{/privacy}","received_events_url":"https://api.github.com/users/mconf-daileon/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":195,"state":"open","created_at":"2016-05-07T20:26:02Z","updated_at":"2016-05-08T15:49:59Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-05-08T15:49:59Z","updated_at":"2016-05-08T15:49:59Z","closed_at":null,"body":"---\n\n\nAuthor Name: **Leonardo Daronco** (Leonardo Daronco)\nOriginal Redmine Issue: 1370, http://dev.mconf.org/redmine/issues/1370\n\nOriginal Assignee: Lucas Zawacki\n\n---\n\nCurrently all users that sign in for the first time via Shibboleth or LDAP have the option to create a new account automatically with their information. When the account is created, it is automatically confirmed (it calls devise's @user.skip_confirmation!@) and the user will not receive any confirmation email.\r\n\r\nIt would be nice to send the user an email, even if the account is automatically confirmed. Also, when the newly created account needs to be approved, the email becomes even more necessary.\r\n\r\nSo the new emails that should be sent are (for both Shibboleth and LDAP):\r\n\r\n* If the account needs to be approved: Send an email asking the user to wait until his account is approved. The same email that is sent for users that create accounts in the local registration.\r\n* If the account does not need to be approved: Send an email just reminding the user that he has a new account on the website that was created via Federation/LDAP and pass some information that might be available/usefull such as the username and email.\r\n\r\nWe can use the same confirmation email that is sent automatically by devise for these new emails. Just need to change the content accordingly.\r\n\r\nNote: the users should still be automatically confirmed!\n\n\n"}}