mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [update v2.5]
This commit is contained in:
parent
edcfb4fcaa
commit
886b88d474
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if __name__ == '__main__':
|
|||
r_serv.zadd('ail:all_role', 4, 'user_no_api')
|
||||
r_serv.zadd('ail:all_role', 5, 'read_only')
|
||||
|
||||
for user in r_serv.hkeys(user:all):
|
||||
for user in r_serv.hkeys('user:all'):
|
||||
r_serv.sadd('user_role:user', user)
|
||||
r_serv.sadd('user_role:user_no_api', user)
|
||||
r_serv.sadd('user_role:read_only', user)
|
||||
|
|
Loading…
Reference in a new issue