app/controllers/concerns/reingest_aip.rb
# Add the default depositor
# This required the dlibhydra depositor generator to have been run
Add the default depositor
This required the dlibhydra depositor generator to have been run
Add the default depositor This required the dlibhydra depositor generator to have been run
def write_aip_permissions
    if current_user and current_user.email
      @aip.apply_depositor(current_user.email)
    else
      @aip.apply_depositor
    end
  end
def write_aip_permissions if current_user and current_user . email @aip . apply_depositor ( current_user . email ) else @aip . apply_depositor end end
Add the default depositor
This required the dlibhydra depositor generator to have been run
Add the default depositor This required the dlibhydra depositor generator to have been run