Issue in Password Policies - After DB MigrationIssue in Password Policies - After DB Migrationhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1193570312024-03-29T16:01:11Z2024-03-29T16:01:11ZRE: Issue in Password Policies - After DB MigrationMarco Danielihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1213864242022-03-29T16:53:13Z2022-03-29T08:41:02Z<p>I know this question is quite old, but I didn't find any solution of
the problem in liferay forum yet.</p>
<p>I had same problem after DB migration, so I tried to find a
workaround to this problem.</p>
<p>Making some tests on our test environment I saw that I was able to
create new Password Policy, without seeing these in password policies
page. These policies were saved in DB in the password policy table
(passwordpolicy) and liferay saved also resource permission in the
appropriate table in DB (resourcepermission). Watching resource
permission table I saw that new password policies had different types
of data in primkey and primkeyid respect of Default Password Policy.
So I replaced default password policy values of columns primkey and
primkeyid in resourcepermission table with passwordpolicyid of default
password policy in passwordpolicy table.</p>
<p>After this replacement, I don't see anymore the problem and I see the
password policies in page (maybe you have also to delete DB cache from
configuration panel to see changes)</p>
<p>It can be a valid solution or it's too dirty?</p>
<p>Are there more clean solutions?</p>Marco Danieli2022-03-29T08:41:02ZRE: Issue in Password Policies - After DB MigrationBoris Dorishttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1205853632021-02-04T08:32:11Z2021-02-04T07:19:24Z<p>Hi Prabakar.</p>
<p>Did you resolve this problem? How you did it?</p>
<p>I have same problem</p>Boris Doris2021-02-04T07:19:24ZRE: Issue in Password Policies - After DB MigrationAlberto Chaparrohttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1193652902020-06-10T21:46:17Z2020-06-10T21:46:17Z<html><head></head><body>Hey Prabakar,<br>This issue seems related to the permissions associated to the model com.liferay.portal.kernel.model.PasswordPolice. Please take a look at the log when access to the page, maybe you can try a workaround removing the problemaitc entries or creating the proper permissions.<br>I hope it helps.<pre><code>
</code></pre></body></html>Alberto Chaparro2020-06-10T21:46:17ZIssue in Password Policies - After DB MigrationPrabakar Duraisamyhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1193570302020-06-10T10:21:21Z2020-06-10T10:21:21ZHello,<br />We are working on Liferay Migration from version 6.1 to 7.1.3.<br />Our server environment is Wildfly11.<br />After database migration, when we click Password Reset Policy, We are getting "Password Policies is temporarily unavailable." Refer Attachment<br />when i searched, i get the following link.<br /><a href="https://issues.liferay.com/br