Fixed codeclimate issue

This commit is contained in:
Sergei Tsõganov 2022-10-13 14:14:35 +03:00
parent 04b55068df
commit dbf8d43f5b
4 changed files with 6 additions and 14 deletions

View file

@ -31,10 +31,6 @@ class Ability
end
def epp # Registrar/api_user dynamic role
if @user.registrar.api_ip_white?(@ip)
can :manage, :xml_console
end
can :manage, Account
# Poll