last week we mistakenly installed a product rule in our pre-production environment which had an application that was built on an other one that was not present in that environment. Due to this, the following exception appeared in the log "Unable to construct authorization core due to authorization failure" and we were not able to reach Pega Login page.
The only way we found to solve the issue was a complete restore of both the PEGARULES and PEGADATA database schema to a backup we created before installing the product rule.
When issue like this one appears would be enough to restore only PEGARULES schema or it is recommended to restore also the PEGADATA schema?
I am interested in this because if situation like that one should happen in Production, restoring also the DATASCHEMA would likely cause data loss.