bugfix
This commit is contained in:
parent
df9b71e647
commit
3d38d97676
@ -1103,7 +1103,7 @@ async def add_roleperm(sor, roleid, permid):
|
|||||||
return
|
return
|
||||||
|
|
||||||
async def add_roles_perm(perm, roles):
|
async def add_roles_perm(perm, roles):
|
||||||
perms = [perms]
|
perms = [perm]
|
||||||
if role in ['anonymous', 'any', 'logined']:
|
if role in ['anonymous', 'any', 'logined']:
|
||||||
for p in perms:
|
for p in perms:
|
||||||
await add_roleperm(sor, role, p.id)
|
await add_roleperm(sor, role, p.id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user