app/models/concerns/hyrax/ability.rb
# Returns true if can create at least one type of work and they can deposit
# into at least one AdminSet
Returns true if can create at least one type of work and they can deposit
into at least one AdminSet
Returns true if can create at least one type of work and they can deposit into at least one AdminSet
def can_create_any_work?
      Hyrax.config.curation_concerns.any? do |curation_concern_type|
        can?(:create, curation_concern_type)
      end 
    end
def can_create_any_work? Hyrax . config . curation_concerns . any? do | curation_concern_type | can? ( :create , curation_concern_type ) end end
Returns true if can create at least one type of work and they can deposit
into at least one AdminSet
Returns true if can create at least one type of work and they can deposit into at least one AdminSet
#&& admin_set_with_deposit?