diff --git a/app/models/ability.rb b/app/models/ability.rb index a1c5162a1..36d9be4bd 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -9,8 +9,6 @@ def initialize(user) user ||= User.new(nil) # Guest user # @user = user - Rails.logger.warn user.inspect - if user.role_id == "staff_admin" can :manage, :all cannot [:new, :create], Doi do |doi|