A Rails 6.0 uses gem administrate. Users flagged as admin access the pages properly.
administrate
The user index is displayed and, for example, the edit page is acce