Skip to content
Snippets Groups Projects
Commit 229b7e9a authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

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

parent 74650b28
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment