This commit is contained in:
Priit Tark 2015-05-14 11:02:26 +03:00
parent 14675f5bb7
commit ab6f59c09e
8 changed files with 48 additions and 2 deletions

View file

@ -13,6 +13,7 @@ class Ability
when 'ApiUser'
epp
registrar
registrant # refactor
end
can :show, :dashboard
@ -63,6 +64,10 @@ class Ability
can :manage, :deposit
end
def registrant
can :manage, Registrant::Whois
end
def user
can :show, :dashboard
end