Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 4.4.2, 5.0.1
-
Fix Version/s: 5.2.0
-
Component/s: None
-
Labels:None
-
Similar Issues:
Description
PermissionCheckerBag is a container for all the user's Group and Role associations per community. This object is created on every request and stored in the PermissionChecker. We should cache this object for the users entire session to improve performance.
Of course changes to the users role and group associations won't take affect until next login. We may want to make this a property.

Hi Brian, hi Joseph,
you may take a look into LEP-2303. I implemented a session cache for permissions already for liferay 4.2.0. Some weeks ago I updated my solution for liferay 4.3.3 and even made it work with impersonation.
Best regards,
Olaf