mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
Merge pull request #1672 from internetee/fix-poll-requests-auth
Remove whitelist checking from poll ability
This commit is contained in:
commit
0452855835
1 changed files with 3 additions and 1 deletions
|
@ -32,12 +32,14 @@ class Ability
|
|||
|
||||
def epp # Registrar/api_user dynamic role
|
||||
if @user.registrar.api_ip_white?(@ip)
|
||||
can :manage, :poll
|
||||
can :manage, Depp::Contact
|
||||
can :manage, :xml_console
|
||||
can :manage, Depp::Domain
|
||||
end
|
||||
|
||||
# Poll
|
||||
can :manage, :poll
|
||||
|
||||
# REPP
|
||||
can(:manage, :repp)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue