mirror of
https://github.com/internetee/registry.git
synced 2025-07-25 03:58:27 +02:00
Fix home page link
This commit is contained in:
parent
a2a67159d4
commit
211f8c9143
10 changed files with 31 additions and 30 deletions
|
@ -31,8 +31,6 @@ class Ability
|
|||
end
|
||||
|
||||
def epp # Registrar/api_user dynamic role
|
||||
can :view, :registrar_dashboard
|
||||
|
||||
if @user.registrar.api_ip_white?(@ip)
|
||||
can :manage, :poll
|
||||
can :manage, Depp::Contact
|
||||
|
@ -71,7 +69,6 @@ class Ability
|
|||
end
|
||||
|
||||
def billing # Registrar/api_user dynamic role
|
||||
can :view, :registrar_dashboard
|
||||
can(:manage, Invoice) { |i| i.buyer_id == @user.registrar_id }
|
||||
can :manage, :deposit
|
||||
can :read, AccountActivity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue