Fórumok

User Permission algorithm migration to 6 from 5

thumbnail
Hitesh Dangi, módosítva 12 év-val korábban

User Permission algorithm migration to 6 from 5

New Member Bejegyzések: 11 Csatlakozás dátuma: 2010.12.14. Legújabb bejegyzések
Hello All,

We have migrated the user permission algorithm to 6 from 5 by following the following steps, however we are not able to access the portal after doing the same.

Has anyone migrated before and faced any issues? We are executing the below steps on production database.

Step 1. Check the portal-ext.property file and make sure that there is a permissions.user.check.algorithm set to 5.

Step 2. Go to Control Panel->Server Administration->Data Migration Tab-> Go to Convert Legacy Permission Algorithm-> Check the Generate Custom Role checkbox-> Execute

Step 3. Wait until the process completed successfully, Once it is finished we can see the following log messages:

05:53:06,644 INFO [Table:432] Finished backup of ResourcePermissionView to /liferayt/liferay-portal-6.0-ee-sp1/tomcat-6.0.29/temp/temp-db-ResourcePermissionView-1327384386636 in 8 ms
05:53:06,644 DEBUG [MaintenanceUtil:64] Updating ResourcePermission table
05:53:58,973 DEBUG [MaintenanceUtil:64] Cleaning up legacy tables
05:54:48,071 DEBUG [MaintenanceUtil:64] Converted to bitwise permission
05:54:48,071 DEBUG [MaintenanceUtil:64] Please set permissions.user.check.algorithm in your portal-ext.properties to 6 and restart server
05:54:48,071 INFO [ConvertProcess:47] Finished conversion for com.liferay.portal.convert.ConvertPermissionAlgorithm in 293888 ms

Step 4. Stop the server, change the permissions.user.check.algorithm value to 6 (in portal-ext.properties) and restart the server.
Shiho Pingali, módosítva 11 év-val korábban

RE: User Permission algorithm migration to 6 from 5

New Member Bejegyzések: 12 Csatlakozás dátuma: 2011.12.20. Legújabb bejegyzések
Did you resolve your issue? If so, could you please post what you found out (what was causing it and how you fixed it)? We are upgrading from 5 to 6 and would like to be aware of any impact it might have. Thanks.
thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: User Permission algorithm migration to 6 from 5

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
The instruction doesn't mention this, but you're suppose to disable LDAP when doing this.