db: MongoDB更新admin账户角色

#Comment
未授权Admin导致切换到MongoDB数据库无法登陆
This commit is contained in:
Argo Zhang 2019-08-23 19:31:37 +08:00
parent ec3de4fd96
commit 44a390957d
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Roles = [ Roles = [
{ {
"_id": ObjectId("1bd7b8445fa31256f77e4b91"),
"RoleName": "Administrators", "RoleName": "Administrators",
"Description": "系统管理员", "Description": "系统管理员",
"Menus": [], "Menus": [],

View File

@ -12,7 +12,7 @@
"Css": null, "Css": null,
"App": null, "App": null,
"IsReset": 0, "IsReset": 0,
"Roles": [], "Roles": ["1bd7b8445fa31256f77e4b91"],
"Groups": [] "Groups": []
}, },
{ {