mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Separated epp login and epp request abilities #2742
This commit is contained in:
parent
598ab7ba63
commit
34f1d7d254
5 changed files with 83 additions and 61 deletions
|
@ -58,10 +58,6 @@ class ApiUser < User
|
|||
@registrar_typeahead || registrar || nil
|
||||
end
|
||||
|
||||
def can_make_api_calls?
|
||||
([SUPER, EPP] & roles).any?
|
||||
end
|
||||
|
||||
def to_s
|
||||
username
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue