diff options
Diffstat (limited to 'app/policies')
-rw-r--r-- | app/policies/user_policy.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/policies/user_policy.rb b/app/policies/user_policy.rb index dabdf707a..57af5c61c 100644 --- a/app/policies/user_policy.rb +++ b/app/policies/user_policy.rb @@ -18,11 +18,11 @@ class UserPolicy < ApplicationPolicy end def enable? - admin? + staff? end def disable? - admin? && !record.admin? + staff? && !record.admin? end def promote? |