Created attachment 1324396 [details] screenshot of error Description of problem: We were trying to delete default admin user with another user having all permissions and was administrator. But while deleting default user, it shows error as " ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_51975e21a8" on table "notification_recipients" DETAIL: Key (id)=(3) is still referenced from table "notification_recipients"." Version-Release number of selected component (if applicable): Satellite 6.3 snap 15 How reproducible: always Steps to Reproduce: 1. Login to satellite with default admin user 2. Create another user having all permissions and make administrator 3. Logout from admin 4. Login using another user created 5. Delete default admin user. Actual results: Not able to delete default admin user. It shows error as " ERROR: update or delete on table "users" violates foreign key constraint "fk_rails_51975e21a8" on table "notification_recipients" DETAIL: Key (id)=(3) is still referenced from table "notification_recipients"." Expected results: Additional info: Any User with administrator role can delete another user with administrator role but in case of deleting default admin it throws error.
Created attachment 1324397 [details] log in production.log file
Created redmine issue http://projects.theforeman.org/issues/20899 from this bug
VERIFIED Version Tested: Satellite-6.3 Snap 17 steps: 1. Created another user having all permissions and make administrator 2. Login as another user 3. Deleted default admin user Successfully deleted default admin user.
Created attachment 1330145 [details] screenshot of UI
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336