X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/067b0de4391a32124aef23c56d73e2bb492df8ca..2be5332689085dc00ec3774c77c9ad31154f3d25:/app/abilities/ability.rb?ds=inline 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