Open link in a new tab

Content

Expand project menu

Admin-privileges lost after update to 12.1.4

Hi @all, 
after updating our local installation to 12.1.4, all admin-accounts lost their privileges/ demoted to usual user-accounts.

  • no access to the administration-page (link does not appear in user menu),
  • no "update-status" button on start-page
  • limited view on project-dropdown
  • ...

the login works properly; we did not change the login-mode.

database/ users-table: the admin-column is still set to "true", where it should be true

Any help is appreciated.

Kind regards,
Tristan

Message actions

Shout out to a colleague who did find a workaround to restore the admin-privileges:

  1. Start the console: openproject run console 
  2. Search user: user = User.find_by(login: 'my@placeholder.de')
  3. Set flag: user.admin = true
  4. Save: user.save!