This website uses cookies to ensure you get the best experience. Learn More.
How to check the active permission algorithm in Liferay Portal 6.x
Liferay Portal 5 and 6 support different permission algorithms.
Liferay Portal 5.2.x and 6.0.x supported permission algorithm 5. In addition, Liferay Portal 6.0.x introduced permission algorithm 6.
Brian Chan states, "Algorithm 6 is an improved version of Algorithm 5. It provides the exact same functionality, but reduces database size by 66%."
Please refer to the References section (below) for related links on permission algorithm 5 and 6.
If you are using Liferay Portal 5.2.x, you will be using permission algorithm 5.
But, if you are using Liferay Portal 6.0.x, you could be using permission algorithm 5 or 6.
How do you check which permission algorithm is active in Liferay Portal 6.0.x ?
Permission algorithm 6 relies upon different tables and data in the database schema.
Review the row counts for the "Permission_" and "Resource_" tables.
If permission algorithm 6 is active, the row count for the "Permission_" and "Resource_" tables will be 0 (empty).