This commit is contained in:
yumoqing 2026-03-21 16:06:12 +08:00
parent 73e4aac4be
commit d07ba9fbdb
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
async with get_sor_context(request._run_ns, 'rbac') as sor:
recs = sor.R('role', {})
recs = await sor.R('role', {})
d = []
for r in recs:
if r.id in ['anonymous', 'any', 'logined']:

View File

@ -1,5 +1,5 @@
async with get_sor_context(request._run_ns, 'rbac') as sor:
recs = sor.R('role', {})
recs = await sor.R('role', {})
d = []
for r in recs:
if r.id in ['anonymous', 'any', 'logined']: