bugfix
This commit is contained in:
parent
531f9c8352
commit
59edbcf7f5
@ -56,6 +56,8 @@ async def main():
|
||||
if not roles:
|
||||
ns['id'] = getID()
|
||||
await sor.C('role', ns.copy())
|
||||
else:
|
||||
ns['id'] = roles[0].id
|
||||
for p in perms:
|
||||
await add_roleperm(sor, ns['id'], path, permid=p.id)
|
||||
await delete_anonymous_perm(sor, p.id)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user