Show More
@@ -578,7 +578,7 b' class PermissionModel(BaseModel):' | |||||
578 | return user_group_write_permissions |
|
578 | return user_group_write_permissions | |
579 |
|
579 | |||
580 | def trigger_permission_flush(self, affected_user_ids=None): |
|
580 | def trigger_permission_flush(self, affected_user_ids=None): | |
581 | affected_user_ids or User.get_all_user_ids() |
|
581 | affected_user_ids = affected_user_ids or User.get_all_user_ids() | |
582 | events.trigger(events.UserPermissionsChange(affected_user_ids)) |
|
582 | events.trigger(events.UserPermissionsChange(affected_user_ids)) | |
583 |
|
583 | |||
584 | def flush_user_permission_caches(self, changes, affected_user_ids=None): |
|
584 | def flush_user_permission_caches(self, changes, affected_user_ids=None): |
General Comments 0
You need to be logged in to leave comments.
Login now