User roles broke from upgrade

System Information
  • Strapi Version: v4.12.1
  • Operating System: Ubuntu
  • Database: SQLite
  • Node Version: v16.15.1
  • NPM Version: 8.11.0
  • Yarn Version: 1.22.19


I just upgradet from v4.9.1 to v4.12.1 and something about the user roles seems to have broken.

For the user collection, each user’s role before looked like this:

and now like this:

Also Drafts can no longer be published, they just give the error message “Not found”, even if this action is done by a Super Admin.

Any idea on how to fix this?

I just created a brand new Strapi project and here the user roles seem to also be broken in the same way. Is this a bug in the current Strapi version?

Related issue: User: Display field for role not working (always set to ID) · Issue #17561 · strapi/strapi · GitHub