Commit 229b7e9a authored by Ahmad Sherif's avatar Ahmad Sherif

Refresh user's authorized projects when one of his memberships are updated

parent 74650b28
......@@ -246,7 +246,7 @@ class Member < ActiveRecord::Base
end
def post_update_hook
# override in subclass
UserProjectAccessChangedService.new(user.id).execute if access_level_changed?
end
def post_destroy_hook
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment