Show More
@@ -32,7 +32,7 b' def trigger_user_permission_flush(event)' | |||
|
32 | 32 | automatic flush of permission caches, so the users affected receive new permissions |
|
33 | 33 | Right Away |
|
34 | 34 | """ |
|
35 | affected_user_ids = event.user_ids | |
|
35 | affected_user_ids = set(event.user_ids) | |
|
36 | 36 | for user_id in affected_user_ids: |
|
37 | 37 | cache_namespace_uid = 'cache_user_auth.{}'.format(user_id) |
|
38 | 38 | del_keys = rc_cache.clear_cache_namespace('cache_perms', cache_namespace_uid) |
General Comments 0
You need to be logged in to leave comments.
Login now