Databases Reference
In-Depth Information
Time for action - creating roles and assignments
Now we will create the roles and assign them accordingly:
1.
Open the
jazn-data.xml
file. Open the
Users
secion and make sure that you
have
webuser
added to the
Users
list.
2.
Click on the
+
icon, and create the
marketinguser
and
operationsuser
users
just like we did in the previous exercise by providing
welcome1
as
Password
.
3.
Now move to the
Enterprise roles
secion, and click on the
+
icon to create a role.
Create three roles, namely,
VP_ROLE
,
MANAGER_ROLE
, and
EMPLOYEE_ROLE
.
4.
In the
Members
secion, add
operationsuser
.
5.
For
VP_ROLE
in the
Assigned Roles
tab, click on the
+
icon to go to the
Assign
Enterprise Role
page and select
MANAGER_ROLE
and
EMPLOYEE_ROLE
. A VP can act
as a manager and as an employee.
6.
Now select
MANAGER_ROLE
and
EMPLOYEE_ROLE
as
Assign the Enterprise role
:
7.
Now select
EMPLOYEE_ROLE
, and in the
Members
secion, add
webuser
to it using
the
Add User
opion.
8.
Now go to
Applicaion Role
and add
MARKETING_DUTY
and
OPERATIONS_DUTY
as
new applicaion roles.
9.
Under
MARKETING_DUTY
, add two more roles by selecing
Add to Exising Roles
after right-clicking on the
MARKETING_DUTY
role.
10.
Within the
ADMIN_ROLE
secion, click on the
+
icon in the
Mappings
secion
as shown in the following screenshot. Click on the
Add User
opion and add
marketinguser
.
Search WWH ::
Custom Search