After upgrading to 3.17, default admin user is not actually admin

gustavofarias6 years ago

I cloned Traccar from Github, checked out the 3.17 commit, ran it inside Netbeans using test database (org.h2.Driver) as I always did.
I logged in using "admin"/"admin" and noticed the menu for the user lacks the usual "server" and "users" entries, like a normal user.

Then I deleted the database files, checked out the 3.16 commit, and then the admin became admin again.
Is there any change in 3.17 related to users?

Anton Tananaev6 years ago

Yes, there was a database schema change.

gustavofarias6 years ago

How can the admin login as admin on a fresh install of Traccar 3.17?

Anton Tananaev6 years ago

Usual admin should work.

gustavofarias6 years ago

A fresh database was generated during the execution and it starts with an admin user that is unable to do admin tasks like change the server config and add other users. How to make it work?

Anton Tananaev6 years ago

Well, if you install official version it works fine.