duke-libraries/dul-hydra — pull request #571 by dchandekstark (2014-02-04 16:58:48+00:00)
Title: Added Attachment#set_initial_permissions

Monkey patched Hydra::AccessControls::Permission to make it easier to extract the perms hash
AttachmentsController#create copies permissions and admin policy from attached_to object
Fixes #560