Added Registrar roles with super, epp, billing

This commit is contained in:
Priit Tark 2015-05-20 19:58:00 +03:00
parent 8371dcf46e
commit 5afa0ac793
12 changed files with 77 additions and 24 deletions

View file

@ -6,7 +6,7 @@ class AdminUser < User
validate :validate_identity_code, if: -> { country_code == 'EE' }
ROLES = %w(user customer_service admin)
ROLES = %w(user customer_service admin) # should not match to api_users roles
devise :database_authenticatable, :rememberable, :trackable, :validatable, :lockable