Sha256: a58d0942818813d528c9c5270465a1484cc65ce7046de49cd993b0bf6d4e40ed

Contents?: true

Size: 636 Bytes

Versions: 40

Compression:

Stored size: 636 Bytes

Contents

class CurationConcerns::PermissionsController < ApplicationController
  include CurationConcerns::CurationConcernController
  with_themed_layout '1_column'

  def confirm
  end

  def copy
    authorize! :edit, curation_concern
    VisibilityCopyJob.perform_later(curation_concern)
    flash_message = 'Updating file permissions. This may take a few minutes. You may want to refresh your browser or return to this record later to see the updated file permissions.'
    redirect_to [main_app, curation_concern], notice: flash_message
  end

  def curation_concern
    @curation_concern ||= ActiveFedora::Base.find(params[:id])
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
curation_concerns-1.5.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.4.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.3.3 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.3.2 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.3.1 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.3.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.2.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.1.2 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.1.1 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.1.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta10 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta9 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta8 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta7 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta6 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta5 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta4 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta3 app/controllers/curation_concerns/permissions_controller.rb
curation_concerns-1.0.0.beta2 app/controllers/curation_concerns/permissions_controller.rb