Defining CheckPoints, Roles and Users

Top  Previous  Next

Check Points:

CAN_MAINTAIN_CUSTOMER_LIST
CAN_CREATE_ORDER
CAN_SEE_ORDER_LIST
CAN_DELETE_ORDER

 
We will then define roles and assign check points to them as follows.

Roles

Check Points

SALES_REPRESENTATIVE

CAN_CREATE_ORDER

CAN_SEE_ORDER_LIST

SALES_MANAGER

CAN_MAINTAIN_CUSTOMER_LIST

CAN_CREATE_ORDER

CAN_SEE_ORDER_LIST

CAN_DELETE_ORDER

 

Defining the CheckPoints

Steps:

1.Login to the web application using user name "sa" and password "mmsa".
2.Click on the "Administration" link
3.Click on the "Roles & Checkpoints" link.
4.Click on [Create Checkpoint] button. A new checkpoint entry will appear on the list. Modify it with value "CAN_MAINTAIN_CUSTOMER_LIST" and click on [Update CheckPoint] button.
5.Create other Checkpoints too by repeating the previous step.

 

Defining the Roles

Steps:

1.Click on the "Roles & Checkpoints" link.
2.Enter "SALES_REPRESENTATIVE" in the "Role Name" and "Role Description" fields and click on [Set Role] button. A new role will be created and it will be displayed in the role list.
3.Click on the role name of the new role on the list. The CheckPoints of the role will be displayed. Add checkpoints "CAN_CREATE_ORDER" and "CAN_SEE_ORDER_LIST" by selecting them from the combo box and clicking on the [Add CheckPoint] botton.
4.Enter "SALES_MANAGER" in the "Role Name" and "Role Description" fields and click on [Set Role] button. A new role will be created and in will be displayed in the role list.
5.Click on the role name of the new role on the list. The CheckPoints of the role will be displayed. Add checkpoints "CAN_MAINTAIN_CUSTOMER_LIST", "CAN_CREATE_ORDER", "CAN_SEE_ORDER_LIST" and "CAN_DELETE_ORDER" by selecting them from the combo box and clicking on the [Add CheckPoint] botton.

 

Defining the Users

Steps:

1.Click on the "User List" link on the "Administration" page
2.In the "Create New User" Form;
3.Enter "u1" into the Name field and enter values you want to the "E-Mail", "Full Name", "Password", "Password Again" fields
4.Select the role "SALES_REPRESENTATIVE" on the "Default Role" combo box.
5.Enter "u1" into the Name field and enter values you want to the other fields to define a sales person user and click on [Save & Edit Roles] button.
6.Click on [Submit] button to create the user.
7.Create another user, e.g. "u2" and with role "SALES_MANAGER".