{"action":"created","issue":{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/405","labels_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/405/comments","events_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/405/events","html_url":"https://github.com/servicosgovbr/editor-de-servicos/issues/405","id":115956222,"number":405,"title":"Cadastrar usuário","user":{"login":"pedrombl","id":42833,"avatar_url":"https://avatars.githubusercontent.com/u/42833?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrombl","html_url":"https://github.com/pedrombl","followers_url":"https://api.github.com/users/pedrombl/followers","following_url":"https://api.github.com/users/pedrombl/following{/other_user}","gists_url":"https://api.github.com/users/pedrombl/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrombl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrombl/subscriptions","organizations_url":"https://api.github.com/users/pedrombl/orgs","repos_url":"https://api.github.com/users/pedrombl/repos","events_url":"https://api.github.com/users/pedrombl/events{/privacy}","received_events_url":"https://api.github.com/users/pedrombl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/labels/Autentica%C3%A7%C3%A3o","name":"Autenticação","color":"5319e7"},{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/labels/Na%20tabela","name":"Na tabela","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"glauberramos","id":559434,"avatar_url":"https://avatars.githubusercontent.com/u/559434?v=3","gravatar_id":"","url":"https://api.github.com/users/glauberramos","html_url":"https://github.com/glauberramos","followers_url":"https://api.github.com/users/glauberramos/followers","following_url":"https://api.github.com/users/glauberramos/following{/other_user}","gists_url":"https://api.github.com/users/glauberramos/gists{/gist_id}","starred_url":"https://api.github.com/users/glauberramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glauberramos/subscriptions","organizations_url":"https://api.github.com/users/glauberramos/orgs","repos_url":"https://api.github.com/users/glauberramos/repos","events_url":"https://api.github.com/users/glauberramos/events{/privacy}","received_events_url":"https://api.github.com/users/glauberramos/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-11-09T20:14:38Z","updated_at":"2015-11-23T20:07:13Z","closed_at":null,"body":"Funcionalidade que cria servidor com os campos:\r\n\r\n- É servidor?\r\n- ID (Siape) - Obrigatorio, se for servidor\r\n- CPF - Obrigatorio\r\n- Nome completo - Obrigatorio\r\n- Órgão - Obrigatório\r\n- E-mail primario\r\n- E-mail secundário\r\n- Senha\r\n\r\nValidações:\r\n- CPF: verificação de digito, formato e deve ser unico\r\n- Senha: tamanho de 8 a 50 caracteres\r\n- Emails: formato de email\r\n- Email primario: obrigatorio\r\n- SIORG: obrigatorio\r\n- Siape: obrigatorio se for servidor\r\n- Nome: obrigatorio\r\n\r\n\r\nTarefas:\r\n- [x] Adicionar campos aos usuarios\r\n- [x] Adicionar password salt\r\n- [x] Validar campos"},"comment":{"url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/comments/159048559","html_url":"https://github.com/servicosgovbr/editor-de-servicos/issues/405#issuecomment-159048559","issue_url":"https://api.github.com/repos/servicosgovbr/editor-de-servicos/issues/405","id":159048559,"user":{"login":"sahrosa","id":2932644,"avatar_url":"https://avatars.githubusercontent.com/u/2932644?v=3","gravatar_id":"","url":"https://api.github.com/users/sahrosa","html_url":"https://github.com/sahrosa","followers_url":"https://api.github.com/users/sahrosa/followers","following_url":"https://api.github.com/users/sahrosa/following{/other_user}","gists_url":"https://api.github.com/users/sahrosa/gists{/gist_id}","starred_url":"https://api.github.com/users/sahrosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahrosa/subscriptions","organizations_url":"https://api.github.com/users/sahrosa/orgs","repos_url":"https://api.github.com/users/sahrosa/repos","events_url":"https://api.github.com/users/sahrosa/events{/privacy}","received_events_url":"https://api.github.com/users/sahrosa/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T20:07:12Z","updated_at":"2015-11-23T20:07:12Z","body":"Oi @mformiga, pensei que seria apenas para que admin/ponto focal lembrasse de mandar a url para o usuário acessar o Editor sempre que precisasse.\r\n\r\nEm cima dessa tua pergunta, surgiu uma ideia melhor, e pensei que poderíamos mostrar uma tela com uma mensagem já melhor estruturada da seguinte forma para poupar trabalho do servidor:\r\n\r\n![screen shot 2015-11-23 at 6 06 01 pm](https://cloud.githubusercontent.com/assets/2932644/11348301/e98b3dea-920c-11e5-8b3e-ef13d5b46d36.png)\r\n\r\nO que acham?"}}