Add admin API for managing e-mail domain blocks (#19066)
This commit is contained in:
@@ -17,6 +17,7 @@ class EmailDomainBlock < ApplicationRecord
|
||||
)
|
||||
|
||||
include DomainNormalizable
|
||||
include Paginable
|
||||
|
||||
belongs_to :parent, class_name: 'EmailDomainBlock', optional: true
|
||||
has_many :children, class_name: 'EmailDomainBlock', foreign_key: :parent_id, inverse_of: :parent, dependent: :destroy
|
||||
|
Reference in New Issue
Block a user