bugfix
This commit is contained in:
parent
73e4aac4be
commit
d07ba9fbdb
@ -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']:
|
||||
|
||||
@ -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']:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user