Refresh user's authorized projects when one of his memberships are updated
This commit is contained in:
parent
74650b280b
commit
229b7e9a8e
|
@ -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…
Reference in New Issue