K2BTools Tutorial - Exercise 12.2 - Executing the GAM integration module

In this exercise, we will configure the library to understand its behaviour.

Basic usage of the module

  1. Execute the application. As we activated GAM for this application, when an user tries to access a web panel without logging in first, the login screen will appear.
  2. In the Login Page, enter the username “admin” with password “admin123”. These are the default values for a new GAM installation.
    LoginPage
    Login page

  3. Click on the “Security -> Home” menu option.
    SecurityMenuOption
    Security menu option

  4. Go to users and create a new user. Remember the username and password you select!
  5. Open another browser or an incognito window, and log in with the user you just created. As this user has no permissions assigned, it will not be able to access anything.
  6. Return to the browser where the “admin” user is logged in.
  7. Go to the “Roles” section and create a new role.
  8. Open the “Permissions” tab for the role, and assign the “country_Execute” and “customer_execute” permissions to that role.(If you don´t see the permissions, change the Application filter value in the permissions UI)
  9. Return to the “Users” section, and assign the newly created role to the user, by entering the user’s definition and going to the “Roles” tab.
  10. Return to the other browser and refresh the page.
    1. Now, the user can access the "Countries" and "Customers" options, but it cannot perform any action.
    2. Check that the Menu is only showing the "Countries" and "Customers" options.
    3. Try accesing the entity manager of a customer.
    4. Change via URL, the mode from DSP to INS, and check that a NotAuthorized UI is shown.
  11. In the administrator’s browser, go to the role definition and add “customer_FullControl”.
  12. See how it affects the user logged in the other browser.
    1. See how it can perform operations in the Customers.