Enabling gated search and limited object access based on Hydra rightsMetadata (DAMSKEY-428)