# Cadastro de Usuários e Gestões - Casos de Uso

Sistema para cadastro de usuários externos e unidades gestoras a fim de obter acesso aos sistemas do TCE-PB.

# Casos de uso de usuário externo

Casos de uso - funcionalidades disponíveis para usuários externos

# UE1 - Cadastrar novo usuário

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Quando uma pessoa desejar obter acesso aos sistemas do TCE-PB, ela deverá acessar o sistema de Cadastro de Usuários e se cadastrar para criar um novo usuário. No formulário de cadastro o solicitante deverá informar seus dados pessoais, dados para contato e documentação comprobatória. Os dados informados no cadastro devem ser conferidos pelo setor de protocolo do tribunal (DIEP).</span>

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1 - Cadastrar novo usuário</span>**
    
    
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.1 - </span>Validar e-mail</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.2 - </span></span>Informar dados pessoais</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.3 - </span></span>Informar dados para contato</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.4 - </span></span>Informar documentação</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.5 - Assinar Termos de Uso</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.6 - </span></span>Concluir cadastro</span>**

## <span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1 - Cadastrar novo usuário</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Na tela inicial, o solicitante deve selecionar entre duas opções: “Efetuar Login” (se já for cadastrado) ou “Cadastrar-se”. </span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ao selecionar a opção “Cadastrar-se”, o solicitante será direcionado para o formulário de cadastro, onde deverá preencher seus dados pessoais e dados para contato, anexando a documentação comprobatória exigida.</span>

### <span style="font-size: 12pt; font-family: Arial,sans-serif; color: #666666; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.1 - Validar e-mail</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">O primeiro passo do cadastro deve ser informar o endereço de e-mail. Será gerado um código e encaminhado para o e-mail informado, e o solicitante deverá digitar esse código para confirmar que possui acesso ao e-mail.</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Na tela de informar o código do e-mail, o solicitante deverá ter a opção de gerar um novo código. Ao clicar nessa opção o sistema irá gerar um código diferente do anterior, que será enviado para o mesmo endereço de e-mail. O novo código não invalida o anterior, que poderá ser utilizado enquanto não expirar. Os códigos devem expirar após 10 minutos.</span>

### <span style="font-size: 12pt; font-family: Arial,sans-serif; color: #666666; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.2 - Informar dados pessoais</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Após a validação do e-mail, o solicitante deve preencher o formulário informando os seguintes dados: CPF, Nome, Data de Nascimento, RG, Número da OAB (opcional), Número do CRC (opcional), Telefone, Endereço.</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Os dados informados devem ser validados com os dados existentes no Cadastro de Pessoa Física do TCE-PB. O CPF, nome e data de nascimento devem ser iguais aos do Cadastro. A data de óbito no Cadastro deve ser nula. Se algum dos dados não corresponder ao esperado, ou não for encontrado um registro no Cadastro para o CPF informado, não deve ser possível continuar com o cadastro.</span>

### <span style="font-size: 12pt; font-family: Arial,sans-serif; color: #666666; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.3 - Informar dados para contato</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">O solicitante deve informar um telefone para contato e um endereço para correspondência. </span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ao informar o CEP, o sistema deve tentar carregar os dados de rua, bairro, cidade e estado e preencher automaticamente os campos correspondentes. Se o CEP não for encontrado, o solicitante deverá informar todos os campos.</span>

### <span style="font-size: 12pt; font-family: Arial,sans-serif; color: #666666; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.4 - Informar documentação</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Após preencher os dados pessoais e de contato, o solicitante deverá informar os arquivos que comprovem os dados informados, em formato PDF, PNG ou JPEG.</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;">Arquivos obrigatórios: D</span></span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">ocumento com foto, frente e verso; C</span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">omprovante de residência recente (últimos 3 meses); </span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Se o solicitante tiver preenchido o campo OAB, é obrigatório informar a foto da carteira da OAB, frente e verso; S</span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">e o solicitante tiver preenchido o campo CRC, é obrigatório informar a foto da carteira do CRC, frente e verso.</span>

### <span style="font-size: 12pt; font-family: Arial,sans-serif; color: #666666; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.5 - Assinar Termo de Uso</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;">Antes de concluir o cadastro, o solicitante deve informar que aceita os termos de uso dos sistemas do TCE-PB.   
Os termos de uso devem estar em um arquivo PDF. O aceite é obrigatório para o prosseguimento do cadastro</span></span>.

### <span style="font-size: 12pt; font-family: Arial,sans-serif; color: #666666; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE1.6 - Concluir cadastro</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Após concluir o preenchimento de todos os dados, o solicitante deve clicar em Concluir Cadastro. </span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">As seguintes validações devem ser realizadas antes de salvar os dados:  
</span>

- Campos obrigatórios: CPF, nome, rg, e-mail, telefone e endereço;
- Campos opcionais: OAB e CRC;
- Não deve haver um usuário já cadastrado com o CPF informado;
- O CPF informado deve existir na base de dados de pessoa física (Base PF);
- O nome informado deve corresponder ao nome cadastrado na Base PF;
- A data de óbito do registro na Base PF deve ser nula;
- O telefone deve estar no formato (XX) XXXXX-XXXX;
- O número da OAB deve estar no formato: OAB/UF + espaço + número até 6 dígitos (pode ter hífen e uma letra no fim). Exemplos válidos: OAB/PB 20847, OAB/SP 385843, OAB/SP 385843-B
- O número do CRC deve estar no formato: UF-XXXXXX/O-X, onde:
    
    
    - UF = Unidade da Federação Origem do Registro;
    - XXXXXX = Numero sequencial de registro composto de 6 digitos;
    - O = Original;
    - X = Digito verificador.

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Após a conclusão do cadastro, deverá ser exibida uma mensagem de sucesso, e enviado um e-mail de confirmação para o endereço do solicitante. </span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Será gerado um registro de usuário no sistema. O usuário ficará pendente de validação do DIEP. A pendência de validação não impede a utilização do sistema, porém algumas funcionalidades podem ficar indisponíveis.</span>

# UE2 - Efetuar login

Na tela inicial do sistema, o usuário deve selecionar uma entre duas opções:

- Efetuar login: se o usuário já possuir uma conta criada para acesso aos sistemas do TCE-PB, ele deve escolher essa opção para informar suas credenciais de acesso;
- Efetuar cadastro: se o usuário ainda não possui uma conta de acesso, ele deve solicitar a opção de preencher o formulário de solicitação de criação de conta;

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE2 - Efetuar login</span>**
    - **UE2.1 - <span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Redirecionar para o Cerberus</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE2.2 - Redirecionar para a Área Logada (login com sucesso)</span>**

#####  **UE2.1 - <span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Redirecionar para o Cerberus</span>**

<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Se o usuário escolher a opção de Efetuar Login, indicando que já possui um cadastro de acesso ao sistema, ele deve ser redirecionado para a tela inicial do Cerberus. Nessa tela, ele deve informar suas credenciais de acesso para efetuar login.</span>

<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Se for o primeiro acesso do usuário após o cadastro, ele não terá ainda uma senha cadastrada. Nesse caso, o usuário deve clicar na opção de Redefinir Senha para criar uma nova senha. Essa instrução deverá constar na tela de sucesso após o cadastro e no e-mail de confirmação do cadastro.</span>

<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Autenticação com GOV.BR: Se for o primeiro acesso do usuário após o cadastro e for exigida a validação do GOV.BR, ele não poderá utilizar a opção de Redefinir Senha. O primeiro acesso terá que ser feito com as credenciais do GOV.BR.   
Após recebida a confirmação de sucesso do GOV.BR, o sistema deverá marcar o usuário como validado e deverá redirecionar para a tela de alteração de senha, para que ele defina uma nova senha de acesso.  
Uma vez validado, o usuário poderá entrar no sistema com login e senha e poderá utilizar a opção de Redefinir Senha.  
OBS: Definir se todos os usuários devem realizar a validação com GOV.BR, ou apenas gestores, contadores e advogados.</span>

##### **UE2.2 - <span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Redirecionar para Área Logada</span>**

<span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Após efetuar login com sucesso, o usuário deve ser redirecionado para a área logada do sistema, onde estarão disponíveis as operações do sistema que necessitam de token de autenticação para uso.</span></span>

# UE3 - Atualizar dados cadastrais

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">O usuário logado pode alterar seus dados cadastrais para corrigir erros de preenchimento ou atualizar informações para contato.</span>

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE3 - Atualizar dados cadastrais</span>**
    
    
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE3.1 - </span></span>Atualizar dados</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE3.2 - </span>Corrigir dados após validação do DIEP</span>**

## <span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE3.1 - Atualizar dados</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Na área logada o usuário pode editar seus dados cadastrais, atualizando as informações de contato.  
Dados que não podem ser modificados: CPF e Nome.  
Validações:</span>

- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Para alterar o e-mail, o usuário precisa validar o novo endereço de e-mail, informando o código recebido. Deve ficar registrado o histórico dos endereços de e-mail e as datas das alterações;</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ao ser alterado o telefone, deve ficar registrado o histórico de alterações com as datas;</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ao ser alterado o endereço, deve ficar registrado o histórico de alterações com as datas. Deve ser obrigatório informar o novo comprovante de endereço;</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Podem ser alterados os arquivos de documento com foto, comprovante de endereço, OAB e CRC;</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Se houver alteração de algum arquivo, o registro do usuário deve ficar pendente de validação do DIEP.   
  
</span><span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE3.2 - Corrigir dados após validação do DIEP</span>

<span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Quando o DIEP realizar a validação dos dados do usuário, se for solicitada alguma correção, o registro deve ficar pendente de correção.  
Quando o usuário realizar uma edição dos dados cadastrais, se o registro de usuário estiver pendente de correção, a situação do registro deve ser alterada para pendente de revisão, para que o DIEP verifique novamente se as pendências foram corrigidas.</span></span>

# UE4 - Cadastrar unidade gestora

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Qualquer usuário logado pode informar o cadastro de um novo órgão jurisdicionado (unidade gestora). Devem ser informados os dados do órgão, os dados do gestor e os arquivos de comprovação. O registro do órgão deve ficar pendente de validação do DIEP. </span>

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE4 - Cadastrar unidade gestora</span>**
    
    
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE4.1 - </span>Cadastrar unidade gestora</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE4.2 - </span></span>Encerrar unidade gestora</span>**

## <span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE4.1 - Cadastrar unidade gestora</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Qualquer usuário pode solicitar o cadastro de uma unidade gestora.  
Devem ser informados os seguintes dados:</span>

- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CNPJ</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome do órgão / entidade</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Sigla (opcional)</span>
- <span style="background-color: transparent; color: rgb(0, 0, 0); font-family: Arial, sans-serif; font-size: 11pt; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; white-space-collapse: preserve;">Município</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Esfera: Municipal, <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Estadual</span></span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Poder: Poder Executivo, Poder Legislativo, Poder Judiciário, Tribunal de Contas, Ministério Público (os 3 últimos só esfera estadual)</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Personalidade Jurídica: Direito Público, Direito Privado (o último apenas para Poder Executivo)</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Administração: Direta, Indireta;</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Unidade Orçamentária, U.G.C., U.G.E.</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Endereço</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">E-mail<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> do órgão / entidade</span> </span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Telefone</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Normas e Legislação</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Tipo de norma: Ato, Decreto, <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Decreto Legislativo, </span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Decreto Lei, </span>Lei Complementar, etc.</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Número da norma</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ano</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Data de publicação</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Arquivo da norma</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Representante Legal</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CPF</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome  
        </span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">E-mail</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Cargo</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Data de Início do Mandato/Gestão</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Arquivo do ato ou portaria de nomeação</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Transparência</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Sítio Eletrônico Oficial da Unidade Jurisdicionada</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome do Responsável pelo Sítio Eletrônico</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">E-mail do Responsável pelo Sítio Eletrônico</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Telefone do Responsável pelo Sítio Eletrônico</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Sítio Eletrônico do Portal da Transparência</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome do Responsável pelo <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Portal da Transparência</span></span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">E-mail do Responsável pelo <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Portal da Transparência</span></span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Telefone do Responsável pelo <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Portal da Transparência</span></span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ofício com as informações do Sítio Eletrônico Oficial e do Portal da Transparência (PDF)</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Norma de Criação do Serviço de Informações ao Cidadão (SIC) assinada digitalmente (PDF)</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Controlador Interno</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CPF</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">E-mail</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Cargo</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Tipo de Vínculo: Servidor da Unidade Gestora, Prestador de Serviço</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Telefone</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Data de início</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Arquivo da Portaria</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Gerenciador Master</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CPF</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">E-mail</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Telefone</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Cargo</span>
    - <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ofício (PDF)</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Após o cadastro da unidade gestora, o registro deve ficar pendente de validação pelo DIEP.   
Enquanto não for validado não deve ser possível cadastrar gestão ou habilitar assessores no órgão.  
  
</span></span><span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE4.2 - Informar encerramento de unidade gestora</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Um usuário pode informar o encerramento de uma unidade gestora, <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">desde que esteja habilitado na gestão.  
Devem ser informados os seguintes campos:  
</span></span>

- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Motivo para encerramento (texto);</span></span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Arquivo de comprovação da publicação da extinção do órgão</span></span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">A informação de encerramento deve ficar pendente de validação pelo DIEP. Somente após a validação do DIEP, o registro do jurisdicionado deve ser encerrado.</span></span>

# UE5 - Informar gestão

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Um usuário logado pode informar o cadastro de uma nova gestão. No cadastro devem ser informados os dados da unidade gestora, do gestor e do gerente técnico responsável pela informação do sistema. </span>

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE5 - Informar gestão</span>**
    
    
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE5.1 - </span>Informar início da gestão</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE5.2 - </span></span>Informar término da gestão</span></span>**

<span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE5.1 - Informar início da gestão</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Qualquer usuário pode informar o início da gestão. Para informar o início de uma gestão é necessário   
Devem ser informados os seguintes dados:</span>

- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CNPJ do órgão</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome do órgão / entidade</span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Município <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">do órgão / entidade</span></span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Tipo do órgão: Autarquia, Empresa Pública, Fundação, Fundo, Órgão, Sociedade de Economia Mista, Secretaria de Estado, Poder / Órgão Independente, Governo do Estado, Prefeitura, Câmara Legislativa, Outros</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">CPF do gestor</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Nome do gestor</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Data de publicação do ato de nomeação (portaria, diploma para cargos eletivos)  
    </span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Meio de publicação do ato de nomeação</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">CPF do gerenciador do sistema (opcional);</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Nome do gerenciador do sistema (opcional);</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Data de publicação da portaria de nomeação do gerenciador do sistema  
    </span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Meio de publicação da portaria de nomeação do gerenciador do sistema</span></span>
- <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Arquivos:</span></span>
    - <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Diploma de posse do gestor (para cargos eletivos)</span></span>
    - <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Ata da sessão de diplomação (para cargos eletivos)</span></span>
    - <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Portaria de nomeação do gestor (para demais cargos)</span></span>
    - <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Comprovante de publicação oficial da portaria do gestor (para demais cargos)</span></span>
    - <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Portaria de nomeação do gerenciador do sistema</span></span>
    - <span style="color: #000000; font-family: Arial, sans-serif;"><span style="font-size: 14.6667px; white-space-collapse: preserve;">Comprovante de publicação oficial da portaria do gerenciador do sistema</span></span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">A solicitação de cadastro de gestão deve ficar pendente de validação do DIEP.   
Após a validação do DIEP a gestão deve ser efetivada, com a ativação da gestão e criação da habilitação do gerenciador do sistema, se houver.   
<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Se houver uma gestão ativa para a unidade gestora, e uma nova gestão for informada, a gestão anterior deve ser encerrada antes da nova gestão ser validada.  
</span></span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">  
</span><span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE5.2 - Informar término da gestão  
</span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">  
O gerenciador do sistema deve informar o término da gestão.  
Só é possível informar uma nova gestão se a anterior tiver sido encerrada. Antes de informar uma nova gestão, o gerenciador deve encerrar a gestão anterior.  
O encerramento da gestão deve ficar pendente de validação do DIEP.  
O encerramento da gestão não encerra automaticamente as habilitações da unidade gestora. As habilitações devem ser encerradas individualmente pelo gerenciador do órgão.  
  
</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">  
</span>

# UE6 - Habilitar assessor técnico na gestão

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">O Gerenciador do Sistema pode habilitar um assessor na gestão, informando o CPF do assessor e as permissões de envio que ele terá no órgão. A habilitação de assessores não precisa ser validada pelo DIEP, porém deve ser confirmada pelo assessor habilitado.</span>

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE6 - Habilitar assessor técnico na gestão</span>**
    
    
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE6.1 - Habilitar<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> <span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">assessor técnico</span> na gestão</span></span></span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE6.2 - </span></span>Confirmar habilitação</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE6.3 - </span></span>Alterar permissões de assessor</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE6.4 - </span></span>Encerrar habilitação</span>**

## <span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE6.1 - Habilitar assessor técnico na gestão</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">O gerenciador do sistema deverá cadastrar os usuários que participam da gestão.  
Dados que devem ser informados:  
</span>

- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Unidade Gestora (selecionada dentre as unidades gerenciadas pelo gerenciador);</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CPF do usuário habilitado</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome do usuário habilitado</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Permissões para envio de informações</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">A habilitação tem início na data de cadastro, e a data de término fica em aberto.  
A habilitação fica pendente de confirmação pelo usuário habilitado.  
</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">OBS: Definir se a habilitação deve ser por unidade gestora ou para o município.</span>

# UE7 - Habilitar empresa na gestão

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">A empresa será responsável pelo envio de dados de contabilidade de acordo com as permissões associadas. A habilitação de empresas não precisa ser validada pelo DIEP.</span>

- **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE7 - Habilitar empresa na gestão</span>**
    
    
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE7.1 - Habilitar<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> <span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">empresa</span> na gestão</span></span></span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE7.2 - </span></span>Alterar permissões de empresa</span>**
    - **<span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: 11pt; font-family: Arial, sans-serif; color: rgb(0, 0, 0); background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE7.3 - </span></span>Encerrar habilitação</span>**

## <span style="font-size: 13.999999999999998pt; font-family: Arial,sans-serif; color: #434343; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">UE7.1 - Habilitar empresa na gestão</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">O gestor do sistema deverá cadastrar a empresa que pode enviar dados de contabilidade da gestão.  
Dados que devem ser informados:  
</span>

- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">CNPJ da empresa</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Nome da empresa</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Descrição da empresa</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Data inicial (data que a empresa pode começar a enviar os dados, por padrão é a data de início da gestão)</span>
- <span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Permissões para envio de informações</span>

<span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Por padrão a habilitação tem início de vigência com a mesma data de início da gestão, e a data de término fica em aberto.  
Após o cadastro da empresa o sistema irá gerar as credenciais necessárias para a integração entre sistemas (**integração do sistema do órgão responsável por enviar os dados de contabilidade com o sistema do Tribunal de Contas - TCE**)</span><span style="font-size: 11pt; font-family: Arial,sans-serif; color: #000000; background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.</span>

# Casos de uso de usuário interno - DIEP

Casos de uso referentes a funcionalidades disponíveis para servidores do TCE-PB lotados no setor de protocolo (DIEP).  
Para ter acesso a essas funcionalidades o usuário logado deve ter uma permissão específica (ex: gestao:protocolo). Algumas operações podem ficar disponíveis apenas para administradores (gestao:admin)  
Deve ficar registrado o nome e login de quem realizou as operações.

# DIEP1 - Cadastrar usuários

Os servidores do DIEP também podem cadastrar usuários, porém esses casos devem ser a exceção. Via de regra, o cadastro deve ser realizado pelo próprio usuário, com o DIEP realizando apenas a validação dos dados.

##### DIEP1 - Cadastrar usuários

- **DIEP1.1 - Cadastrar usuário**
- **DIEP1.2 - Listar usuários**
- **DIEP1.3 - Cancelar usuário**
- **DIEP1.4 - Validar cadastro de usuário**

##### **DIEP1.1 - Cadastrar usuário**

Permite cadastrar um novo usuário, informando todos os dados. Nesse cenário não há a validação do e-mail, porém as outras validações permanecem. São necessários os mesmos arquivos do autocadastro.   
Deve ficar registrado em log que o usuário foi cadastrado por servidores do TCE.  
Ao final do cadastro, deve ser enviado um e-mail para o endereço do usuário informando que foi realizado o cadastro e com instruções para login e redefinição de senha (inclusive GOV.BR se for necessário).

##### **DIEP1.2 - Listar usuários**

Tela de pesquisa para listar todos os usuários cadastrados, com filtros.   
Permitir exportar a listagem de resultados para o excel.

##### **DIEP1.3 - Cancelar usuário**

Permitir cancelar um usuário cadastrado incorretamente.  
Deve ser informada uma justificativa para a operação.  
O usuário cancelado não pode utilizar a área logada.  
Deve ser disparada uma mensagem para o Cerberus para cancelar o usuário lá e impedir o login e o uso das aplicações.

##### **DIEP1.4 - Validar cadastro de usuário** 

Deve ser exibida uma listagem dos registros de usuário que não foram validados pelo TCE.   
Ao clicar no registro, devem ser exibidas as informações e arquivos do usuário, para que o servidor possa abrir e conferir se o conteúdo dos arquivos corresponde aos metadados informados. Nessa página de visualização do usuário, o servidor pode realizar três operações: Voltar (para a tela de listagem), Validar ou Solicitar Correção.

- Voltar: retorna para a tela de listagem sem modificar nenhum registro;
- Validar: marca o usuário como validado pelo TCE. Deve ser registrado quem validou e a data e hora da validação;
- Solicitar Correção: o usuário deve informar o que deve ser corrigido, em uma caixa de texto. Essa mensagem deve ser enviada por e-mail para o usuário, e quando ele fizer login no sistema deve aparecer um aviso de que existe uma pendência de correção. Caso o usuário não realize a correção necessária o DIEP deve entrar em contato por telefone, e se mesmo assim a pendência continuar, o DIEP deve cancelar o usuário.

# DIEP2 - Cadastrar municípios

Os servidores do DIEP ficam responsáveis por atualizar as informações dos municípios quando houver mudanças de nomenclatura ou criação de novos municípios.  
Deve ser cadastrado um município especial denominado Estado, para representar os órgãos estaduais.

##### **DIEP2 - Cadastrar municípios**

- **DIEP2.1 - Cadastrar município;**
- **DIEP2.2 - Editar município;**
- **DIEP2.3 - Cancelar município;**
- **DIEP2.4 - Editar dados adicionais do município;**

##### **DIEP2.1 - Cadastrar município**

O servidor pode cadastrar um novo município.

##### **DIEP2.2 - Editar município**

O servidor pode editar um município e alterar o nome.

##### **DIEP2.3 - Cancelar município**

O servidor pode cancelar um município cadastrado por erro ou que foi extinto. Deve ser obrigatório informar uma justificativa para a operação.

##### **DIEP2.4 - Editar dados adicionais do município**

Verificar se os municípios devem ter dados adicionais no cadastro (ex: população, mesorregião, etc.). Verificar se é necessário ter esses dados, quais dados seriam necessários e como deveria ser o cadastro (se em tabela a parte para manter histórico, ou na mesma tabela).

# DIEP3 - Cadastrar unidade gestora



# DIEP4 - Cadastrar gestões