Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refatorar authenticação #65

Open
6 tasks done
Luanftg opened this issue Mar 28, 2023 · 0 comments
Open
6 tasks done

Refatorar authenticação #65

Luanftg opened this issue Mar 28, 2023 · 0 comments
Assignees
Labels
refact refatoração de código pré existente Sprint lll desenvolvimentos para Sprint lll

Comments

@Luanftg
Copy link
Collaborator

Luanftg commented Mar 28, 2023

Permissões

  • Lista de permissões
  • get-jobs
  • get-jobs-id
  • post-jobs
  • put-jobs
  • put-jobs-status
  • get-companies
  • get-companies-id
  • post-companies
  • put-companies
  • put-companies-status
  • get-users
  • get-users-id
  • post-users
  • put-users
  • put-users-status

Atividades

Image

  • Criar no banco de dados a tabela roles

  • Criar no banco de dados a tabela profile_roles

  • Criar role manualmente no banco para teste

  • Refatorar a interface serviço de segurança para que o método que gera o token receba uma String contendo a "role" do usuario que acessa a rota

  • Ajustar a implementação da interface para receber a lista como parametro do métdodo generateJWT(String userID, String profileID)

  • Refatorar middleware verifyJWT para verificar permissao do usuario para acessar a rota

@Luanftg Luanftg converted this from a draft issue Mar 28, 2023
@Luanftg Luanftg self-assigned this Mar 28, 2023
@Luanftg Luanftg added refact refatoração de código pré existente Sprint lll desenvolvimentos para Sprint lll labels Mar 28, 2023
@Luanftg Luanftg added this to the Entrega Sprint lll milestone Mar 28, 2023
@Luanftg Luanftg moved this from Todo Back to Tests in APP_VAGAS_FLUTTER Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refact refatoração de código pré existente Sprint lll desenvolvimentos para Sprint lll
Projects
Status: Tests
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant