Do not raise an exception when creating a role during plugin initialization
|Assigned To:||Adam Ruzicka|
|Target version:||Team Ivan Iteration 12|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/4396|
|Velocity based estimate||-|
When a plugin defines a role depending on a permission added by core's seeds, the plugin will fail to initialize on a unseeded database. Logging the error instead of raising would make the plugin initialize. Roles will be added on later restarts.
For more information see discussions on these PRs: