Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Admin-privileges lost after update to 12.1.4

Admin-privileges lost after update to 12.1.4

Added by Tri Tri almost 3 years ago

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


Replies (1)

RE: Admin-privileges lost after update to 12.1.4 - Added by Tri Tri almost 3 years ago

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!
  • (1 - 1/1)
Loading...