Add Registrant User

This commit is contained in:
Martin Lensment 2015-05-14 18:02:31 +03:00
parent 412ececd9c
commit ca2183817a
8 changed files with 57 additions and 51 deletions

View file

@ -13,7 +13,9 @@ class Ability
when 'ApiUser'
epp
registrar
registrant # refactor
registrant # refactor
when 'RegistrantUser'
registrant
end
can :show, :dashboard
@ -66,6 +68,7 @@ class Ability
def registrant
can :manage, Registrant::Whois
can :manage, Depp::Domain
end
def user