mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Do not send notification email on EPP contact:update if contact does not
act as a registrant Fixes #1161
This commit is contained in:
parent
6a61d7de5b
commit
6fbadaf7f8
4 changed files with 62 additions and 3 deletions
|
@ -548,4 +548,8 @@ class Contact < ActiveRecord::Base
|
|||
def managed_by?(registrant_user)
|
||||
ident == registrant_user.ident
|
||||
end
|
||||
|
||||
def registrant?
|
||||
registrant_domains.any?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue