diff options
author | Ahmad Sherif <me@ahmadsherif.com> | 2016-11-21 19:21:14 +0200 |
---|---|---|
committer | Ahmad Sherif <me@ahmadsherif.com> | 2016-11-23 12:57:58 +0200 |
commit | 229b7e9a8e10d51eca057e7948a48935011cc51a (patch) | |
tree | 54ddceff8336ffdf76c3f6eb1c8a60bd872482a1 /app/models/member.rb | |
parent | 74650b280bbe514115e1a085d00cb37c160f2d8e (diff) | |
download | gitlab-ce-229b7e9a8e10d51eca057e7948a48935011cc51a.tar.gz |
Refresh user's authorized projects when one of his memberships are updated
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index 7be2665bf48..df93aaee847 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -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 |