mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Revert "Use inflector rule to acronym Api to API"
This reverts commit 06f5eb10d4
.
This commit is contained in:
parent
90b2455032
commit
aac76b333c
25 changed files with 43 additions and 44 deletions
|
@ -10,7 +10,7 @@ class Ability
|
|||
case @user.class.to_s
|
||||
when 'AdminUser'
|
||||
@user.roles&.each { |role| send(role) }
|
||||
when 'APIUser'
|
||||
when 'ApiUser'
|
||||
@user.roles&.each { |role| send(role) }
|
||||
when 'RegistrantUser'
|
||||
static_registrant
|
||||
|
@ -94,7 +94,7 @@ class Ability
|
|||
can :manage, ContactVersion
|
||||
can :manage, Billing::Price
|
||||
can :manage, User
|
||||
can :manage, APIUser
|
||||
can :manage, ApiUser
|
||||
can :manage, AdminUser
|
||||
can :manage, Certificate
|
||||
can :manage, Keyrelay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue