#1282  2 extra users in database
Closed
Vasiliy Kulikov opened 1 year ago

Immediately after deploying the application using Docker Compose in table o_User of the Database i see 3 Users:

  • admin (o_id = 1)
  • onedev (o_id = -1)
  • unknown (o_id = -2)

изображение_2.png

admin is user i created, but onedev and unknown created by OneDev.io. What is the purpose of these users and how can I remove them if possible. Because if I remove these users from the DB table, after a reboot, the OneDev app will create them again.

Robin Shen commented 1 year ago

The OneDev user represents the system itself, for instance, when the system performs some activities such as closing issues automatically.

The unknown user is used in cases where the actual user performing the activity is unknown, for instance, when user is deleted, all issues submitted by the user will be associated with the unknown user.

Vasiliy Kulikov commented 1 year ago

Clear. And thanks for your work! It's amazing! ??

Vasiliy Kulikov changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (1)
Watchers (4)
Reference
onedev/server#1282
Please wait...
Page is in error, reload to recover