Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Umer Sayeed
Security portlet
October 19, 2012 7:49 AM
Answer

Umer Sayeed

Rank: Junior Member

Posts: 51

Join Date: August 8, 2012

Recent Posts

Hi Friends.,

I have created 3 roles and 3 user and i have assign the each role to each user but i dont know how and where to do code in liferay for restric..,

eg.,
3 user
user 1 >> can do all add+ delete + edit;
user 2 >>can do only add+edit;
user 3 >> can only add;
Hitoshi Ozawa
RE: Security portlet
October 20, 2012 5:15 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Have you read the online development document on security?

http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/security-and-permissio-4
Umer Sayeed
RE: Security portlet
November 22, 2012 11:18 PM
Answer

Umer Sayeed

Rank: Junior Member

Posts: 51

Join Date: August 8, 2012

Recent Posts

I have found the solution using this ThemeDisplay from this i will get companyid & userId "<% ThemeDisplay theme1 =(ThemeDisplay)request.getAttribute(WebKeys.THEME_DISPLAY);"