X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7e5cbe87ed37f9cba8224fa4049047d7f981f66a..0925035a3e85da99ea65f892f208851eb123385d:/app/abilities/ability.rb diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index e022f7993..bb9cd6300 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -33,7 +33,7 @@ class Ability can [:history, :version], OldRelation end - if user + if user&.active? can :welcome, :site can [:revoke, :authorize], :oauth can [:show], :deletion