Forums

Home » Liferay Documentation

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
James Hinkey
Dev Guide (update) - Checking Permissions
May 7, 2011 3:54 AM
Answer

James Hinkey

LIFERAY STAFF

Rank: New Member

Posts: 23

Join Date: February 15, 2011

Recent Posts

We've updated the Security and Permissions section in Chapter 9 Liferay APIs and Frameworks of the Liferay Developer's Guide. The Checking Permissions sub-section focuses on checking user permissions with respect to model resources. Code examples demonstrate how to use PermissionChecker in both your JSPs and business logic.

In addition, our newly added section Creating Helper Classes for Permission Checking addresses how to construct your own helper classes to facilitate checking permissions when you have complex organization heirarchies or when you need to check multiple action types.

Please check out the PDF and HTML versions of the Liferay Developer's Guide for details!
Jim
Hitoshi Ozawa
RE: Dev Guide (update) - Checking Permissions
May 6, 2011 11:56 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7990

Join Date: March 23, 2010

Recent Posts

It's under Chapter 9 "Liferay APIs and Frameworks", right? The helper class is "Creating Helper Classes for Permission Checking" in the page.

Very nice. Permission is one of the import feature of Liferay and document has been scarce.

Thank you.
James Hinkey
RE: Dev Guide (update) - Checking Permissions
May 7, 2011 3:56 AM
Answer

James Hinkey

LIFERAY STAFF

Rank: New Member

Posts: 23

Join Date: February 15, 2011

Recent Posts

Hitoshi,

You are exactly right. Thanks for clarifying that!

Jim
Mika Koivisto
RE: Dev Guide (update) - Checking Permissions
May 11, 2011 5:22 PM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1501

Join Date: August 7, 2006

Recent Posts

Nice. The docs are getting better and better. Although I still use the source as documentation on daily basis. It's faster to hit cmd + T and type the classname to find out how something works. No risk of being outdated emoticon
Richard Sezov
RE: Dev Guide (update) - Checking Permissions
May 12, 2011 10:34 AM
Answer

Richard Sezov

LIFERAY STAFF

Rank: Regular Member

Posts: 198

Join Date: February 7, 2007

Recent Posts

We're getting there, guys. It's been a slow process, because we have our work cut out for us in order to catch up with the source. emoticon
Mika Koivisto
RE: Dev Guide (update) - Checking Permissions
May 12, 2011 11:50 AM
Answer

Mika Koivisto

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1501

Join Date: August 7, 2006

Recent Posts

And we keep changing the existing features as well as adding new ones. emoticon