update. 调整 admin 用户的 admin 后台权限
This commit is contained in:
@@ -471,6 +471,8 @@ class Command(BaseCommand):
|
||||
"password": make_password("adminadmin"),
|
||||
"dept": departments['company'],
|
||||
"is_active": True,
|
||||
"is_staff": True,
|
||||
"is_superuser": True,
|
||||
},
|
||||
[roles['admin']]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user