X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8cef62cd2cec4a297e46b4f2a86c9afeadb3b283..0b76b22a2be65c2579a7eac92b56414f1c40a0b2:/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