Foros de discusión

Dev Guide (update) - Checking Permissions

thumbnail
Jim Hinkey, modificado hace 12 años.

Dev Guide (update) - Checking Permissions

Junior Member Mensajes: 62 Fecha de incorporación: 15/02/11 Mensajes recientes
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
thumbnail
Hitoshi Ozawa, modificado hace 12 años.

RE: Dev Guide (update) - Checking Permissions

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
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.
thumbnail
Jim Hinkey, modificado hace 12 años.

RE: Dev Guide (update) - Checking Permissions

Junior Member Mensajes: 62 Fecha de incorporación: 15/02/11 Mensajes recientes
Hitoshi,

You are exactly right. Thanks for clarifying that!

Jim
thumbnail
Mika Koivisto, modificado hace 12 años.

RE: Dev Guide (update) - Checking Permissions

Liferay Legend Mensajes: 1519 Fecha de incorporación: 7/08/06 Mensajes recientes
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
thumbnail
Richard Sezov, modificado hace 12 años.

RE: Dev Guide (update) - Checking Permissions

Regular Member Mensajes: 220 Fecha de incorporación: 7/02/07 Mensajes recientes
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
thumbnail
Mika Koivisto, modificado hace 12 años.

RE: Dev Guide (update) - Checking Permissions

Liferay Legend Mensajes: 1519 Fecha de incorporación: 7/08/06 Mensajes recientes
And we keep changing the existing features as well as adding new ones. emoticon