OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/models/work_packages/export.rb

11 lines
310 B

class WorkPackages::Export < Export
acts_as_attachable view_permission: :export_work_packages,
add_permission: :export_work_packages,
delete_permission: :export_work_packages,
only_user_allowed: true
def ready?
attachments.any?
end
end