Foros

Inicio » Liferay Documentation

Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
James Hinkey
Dev Guide (update) - Checking Permissions
7 de mayo de 2011 3:54
Respuesta

James Hinkey

LIFERAY STAFF

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 15 de febrero de 2011

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
Hitoshi Ozawa
RE: Dev Guide (update) - Checking Permissions
6 de mayo de 2011 23:56
Respuesta

Hitoshi Ozawa

Ranking: Liferay Legend

Mensajes: 7990

Fecha de incorporación: 23 de marzo de 2010

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.
James Hinkey
RE: Dev Guide (update) - Checking Permissions
7 de mayo de 2011 3:56
Respuesta

James Hinkey

LIFERAY STAFF

Ranking: New Member

Mensajes: 23

Fecha de incorporación: 15 de febrero de 2011

Mensajes recientes

Hitoshi,

You are exactly right. Thanks for clarifying that!

Jim
Mika Koivisto
RE: Dev Guide (update) - Checking Permissions
11 de mayo de 2011 17:22
Respuesta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1501

Fecha de incorporación: 7 de agosto de 2006

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
Richard Sezov
RE: Dev Guide (update) - Checking Permissions
12 de mayo de 2011 10:34
Respuesta

Richard Sezov

LIFERAY STAFF

Ranking: Regular Member

Mensajes: 198

Fecha de incorporación: 7 de febrero de 2007

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
Mika Koivisto
RE: Dev Guide (update) - Checking Permissions
12 de mayo de 2011 11:50
Respuesta

Mika Koivisto

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 1501

Fecha de incorporación: 7 de agosto de 2006

Mensajes recientes

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