.koppie/app/models/ability.rb in hyrax-5.0.0.rc1 vs .koppie/app/models/ability.rb in hyrax-5.0.0.rc2

- old
+ new

@@ -1,16 +1,12 @@ class Ability include Hydra::Ability - + include Hyrax::Ability self.ability_logic += [:everyone_can_create_curation_concerns] # Define any customized permissions here. def custom_permissions - if current_user.admin? - can [:create, :show, :add_user, :remove_user, :index, :edit, :update, :destroy], Role - end - # Limits deleting objects to a the admin user # # if current_user.admin? # can [:destroy], ActiveFedora::Base # end