added some todos

This commit is contained in:
Priit Tamboom 2014-07-01 14:41:34 +03:00
parent f406c69963
commit 35155fb8ac
5 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,6 @@
class Contact < ActiveRecord::Base
#TODO Estonian id validation
#TODO Foreign contact will get email with activation link/username/temp password
#TODO Phone number validation, in first phase very minimam in order to support current registries
has_many :addresses
end

View file

@ -1,4 +1,8 @@
class Domain < ActiveRecord::Base
#TODO whois requests ip whitelist for full info for own domains and partial info for other domains
#TODO most inputs should be trimmed before validatation, probably some global logic?
belongs_to :registrar
belongs_to :ns_set
belongs_to :owner_contact, class_name: 'Contact'

View file

@ -1,3 +1,4 @@
class EppUser < ActiveRecord::Base
#TODO should have max request limit per day
belongs_to :registrar
end

View file

@ -1,3 +1,7 @@
class User < ActiveRecord::Base
#TODO Foreign user will get email with activation link,email,temp-password.
#After activisation, system should require to change temp password.
#TODO Estonian id validation
belongs_to :role
end