100% found this document useful (1 vote)
7K views

Liferay Authorization Role Management

Document describe the role management functionality of liferay portal. It covers creation of different role, provide permissions to these roles, assign these roles to users, demo & pictorial explanation.

Uploaded by

Pawan
Copyright
© Attribution Non-Commercial (BY-NC)
100% found this document useful (1 vote)
7K views

Liferay Authorization Role Management

Document describe the role management functionality of liferay portal. It covers creation of different role, provide permissions to these roles, assign these roles to users, demo & pictorial explanation.

Uploaded by

Pawan
Copyright
© Attribution Non-Commercial (BY-NC)
You are on page 1/ 21

Liferay role management & authorization 2009

LIFERAY PORTAL AUTHORIZATION


&
ROLE MANAGEMENT

Author: Pawan Modi

1
Liferay role management & authorization 2009

Table of Figure

FIGURE 1 ..................................................................................................................................................... 3
FIGURE 2 ..................................................................................................................................................... 5
FIGURE 3 ..................................................................................................................................................... 6
FIGURE 4 ..................................................................................................................................................... 7
FIGURE 5 ..................................................................................................................................................... 8
FIGURE 6 ..................................................................................................................................................... 9
FIGURE 7 ................................................................................................................................................... 10
FIGURE 8 ................................................................................................................................................... 11
FIGURE 9 ................................................................................................................................................... 12
FIGURE 10 ................................................................................................................................................. 13
FIGURE 11 ................................................................................................................................................. 14
FIGURE 12 ................................................................................................................................................. 15
FIGURE 13 ................................................................................................................................................. 16
FIGURE 14 ................................................................................................................................................. 17
FIGURE 15 ................................................................................................................................................. 18
FIGURE 16 ................................................................................................................................................. 19
FIGURE 17 ................................................................................................................................................. 20

2
Liferay role management & authorization 2009

Architecture

Figure 1

3
Liferay role management & authorization 2009

Demo Description
1. Demo use 3 roles i.e MyRole, TestRole & TestRole2.
2. Demo use 3 user’s i.e pawan, suresh & arun. Pawan belongs to Role MyRole. Suresh
belongs to Role TestRole. Arun belongs to Role TestRole2.
3. Demo uses 2 IFrame portlets.
4. MyRole has permission to view & config IFrame portlets.
5. TestRole has permission only to view IFrame portlets.
6. TestRole2 doesn’t have permission to view / config IFrame portlets.
7. Following snapshots demonstrate the same.

4
Liferay role management & authorization 2009

MyRole1
1a] User pawan belongs to Role “MyRole1”.

Figure 2

5
Liferay role management & authorization 2009

TestRole
1b] User suresh belongs to Role “TestRole”.

Figure 3

6
Liferay role management & authorization 2009

TestRole2
1c] User arun belongs to Role “TestRole2”.

Figure 4

7
Liferay role management & authorization 2009

MyRole Permissions

2a] Role MyRole has permissions to view & config IFrame portlet.

Figure 5

8
Liferay role management & authorization 2009

TestRole Permissions
2b] Role TestRole has permissions only to view IFrame portlet.

Figure 6

9
Liferay role management & authorization 2009

TestRole2 Permission
2c] Role TestRole2 doesn’t have permissions to view or config IFrame portlet.

Figure 7

10
Liferay role management & authorization 2009

Demo
1] User has not logged in.

Figure 8

11
Liferay role management & authorization 2009

2a] User pawan belongs to Role “MyRole1”.


2b] User pawan is logging in.

Figure 9

12
Liferay role management & authorization 2009

3a] Role MyRole has permissions to view & config IFrame portlet.
3b] User pawan belong to Role MyRole.
3c] User pawan can view & config IFrame portlet.

Figure 10

13
Liferay role management & authorization 2009

4] User pawan logging out.

Figure 11

14
Liferay role management & authorization 2009

5a] User suresh belongs to Role “TestRole”.


5b] User suresh is logging in.

Figure 12

15
Liferay role management & authorization 2009

6a] Role TestRole has permissions only to view IFrame portlets.


6b] User suresh belong to Role TestRole.
6c] User suresh can only view but cannot config IFrame portlets.

Figure 13

16
Liferay role management & authorization 2009

7] User suresh logging out.

Figure 14

17
Liferay role management & authorization 2009

8a] User arun belongs to Role “TestRole2”.


8b] User arun is logging in.

Figure 15

18
Liferay role management & authorization 2009

9a] Role TestRole2 doesn’t has permissions to view or config IFrame portlet.
9b] User arun belong to Role TestRole2.
9c] User arun doesn’t view or config IFrame portlet.

Figure 16

19
Liferay role management & authorization 2009

10] User arun logging out.

Figure 17

20
Liferay role management & authorization 2009

11] User has not logged in & not having permission to view or config IFrame portlet.

21

You might also like