Skip to content

abbouformations/react-crud-example-axios-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. UC n°1 : Log in withn the agentguichet account :
  • At the backend layer, the agentguichet user has the ROLE_AGENT_GUICHET role.

  • Enter the following account: username=[agentguichet, password= agentguichet]:

    image

  • Click on the “Customers Management” menu for customer management:

    image

  • You can view the user profile by clicking on the Profile menu:

    image

  1. UC n°2: connect with the agentguichet2 account
  • At the backend layer, the agentguichet2 user has the ROLE_AGENT_GUICHET_GET role. This user can only consult customers and accounts.

  • Enter the following account: username=[agentguichet2, password= agentguichet2]:

    image

  • Click on the Profile menu to view the user profile:

    image

  • Click on the “Customers management” menu and notice that the user can only consult customers:

    image

  1. UC n°3: log in with the customer account
  • At the backend layer, the client user has the ROLE_CLIENT role. This user can only consult his account, his data, his transactions and make transfers.

  • Enter the following account: username=[client, password= client]:

    image

  • Click on the Profile menu to view your profile:

    image

  • You notice that the application does not display the menus concerning the "agent guichet".

  • If the customer tries, for example, to access the link http://localhost:3000/manage_customers, the application displays the following message:

image

  1. UC n°3: log in with the admin account
  • At the backend layer, the admin user has the following roles: ROLE_AGENT_GUICHET and ROLE_CLIENT. This user has all the authorizations.

  • Enter the following account: username=[admin, password= admin]:

image

  • Click on the Profile menu to view your profile:

    image

  • Then click on the other menus to test the services.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published