Time for action – creating roles and assignments
Now we will create the roles and assign them accordingly:
Open the
jazn-data.xml
file. Open the Users section and make sure that you havewebuser
added to the Users list.Click on the + icon, and create the
marketinguser
andoperationsuser
users just like we did in the previous exercise by providingwelcome1
as Password.Now move to the Enterprise roles section, and click on the + icon to create a role. Create three roles, namely,
VP_ROLE
,MANAGER_ROLE
, andEMPLOYEE_ROLE
.In the Members section, add
operationsuser
.For
VP_ROLE
in the Assigned Roles tab, click on the + icon to go to the Assign Enterprise Role page and selectMANAGER_ROLE
andEMPLOYEE_ROLE
. A VP can act as a manager and as an employee.Now select
MANAGER_ROLE
andEMPLOYEE_ROLE
as Assign the Enterprise role:Now select
EMPLOYEE_ROLE
, and in the Members section, addwebuser
to it using the Add User option.Now go to Application Role and add
MARKETING_DUTY
andOPERATIONS_DUTY
as new...