This commit is contained in:
yumoqing 2025-08-07 15:13:55 +08:00
parent 92cfde276c
commit 1c6707c4ba

View File

@ -2,12 +2,12 @@ debug('/rbac/add_superuser.dspy')
db = DBPools()
dbname = get_module_dbname('rbac')
async with db.sqlorContext(dbname) as sor:
ns = {
ns = DictObject(**{
"id": uuid(),
"username":"superuser",
"password":password_encode('111111'),
"orgid":"0"
}
})
roles = [
{
"orgtypeid":"owner",