Set User.current in rake console
|Triaged:||Fixed in Releases:|
|Bugzilla link:||Found in Releases:|
|Pull request:||https://github.com/theforeman/foreman/pull/4565, https://github.com/theforeman/foreman/pull/4563|
With security patch that want into 1.14 and develop many models are more restricted now and console is mostly unusable without user set. Let's explicitly set the user to anonymous admin and tell the user to change this if needed.