feat: able to set initial quota for new user (close #22)
This commit is contained in:
1 parent
5a9fb6238b
commit
9c529f9674
6 files changed
+59
-1
No files matched your search
@@ -25,6 +25,7 @@ func createRootAccountIfNeed() error {
|
||||
Role: common.RoleRootUser,
|
||||
Status: common.UserStatusEnabled,
|
||||
DisplayName: "Root User",
|
||||
AccessToken: common.GetUUID(),
|
||||
}
|
||||
DB.Create(&rootUser)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user