Fixes #24697 - Don't remove permissions from default role
The default role may have permissions added by users. They should remain without removal. If a seeded permissions needs removal from the default role, it should be explicitly removed in a migration. Additionally, attempting to remove permissions with filters from a role led to a failure due to an incorrect search parameter which has now been fixed.
Related issues
Bug #24697: foreman-rake db:seed fails on upgrade to Foraman 1.17.1
Fixes #24697 - Don't remove permissions from default role
The default role may have permissions added by users. They should remain
without removal. If a seeded permissions needs removal from the default
role, it should be explicitly removed in a migration.
Additionally, attempting to remove permissions with filters from a role
led to a failure due to an incorrect search parameter which has now been
fixed.