[SD-1212] Add privileged actions to the preferences response
Merge remote-tracking branch 'andrew/feat-workflow' into feat-workflow
[SD-1214] Removed 'subbed' state
[SD-1216] Wiring 'in_progress' state on save of a content is complete
Merge remote-tracking branch 'upstream/feat-workflow' into feat-workflow
[SD-1216]
1. Fixed failing tests while changing state of content to 'in_progress'. Because of multiple patches to archive collection while fetching had to introduce 'req_for_save'. There might be a better way to handle the same.
2. archive_ingest was ignoring to copy values from ingest_doc if ingest_doc['type'] = 'composite'.
3. Modified behave tests of archive_ingest because test ingests only the parent item of the package. When request to fetch the package from ingest archive_ingest tries to fetch all the items in the package which causes archive_ingest to fail. For example, if a package has 3 items then ingest should have 4 items but tests inserts pnly 1 item into ingest and archive_ingest tries for 4 items.