Tim, I tried using date.embargo ( I created this date for that purpose ), and got the same result as date.available: bistreams look good, but item is not private. When using the UI, the private status is not assumed - user has to select it. I wonder if when using the import scrip it's the same way?
Thank you! Jose On Wed, Apr 22, 2020 at 11:19 AM Tim Donohue <[email protected]> wrote: > Hi Jose, > > I'd recommend not using an existing, system metadata field to store your > embargo date. Please use a custom "dc" field to ensure it doesn't conflict > with metadata that DSpace itself will be adding. > > The "dc.date.available" field is used by the DSpace system to note the > exact date that the Item was accepted into the system. See > https://github.com/DSpace/DSpace/blob/master/dspace/config/registries/dublin-core-types.xml#L162-L168 > It's possible that attempting to reuse this field for embargo purposes is > causing you problems, as it's already used as the "date of submission". > > Tim > ------------------------------ > *From:* Jose Blanco <[email protected]> > *Sent:* Wednesday, April 22, 2020 9:44 AM > *To:* Tim Donohue <[email protected]> > *Cc:* DSpace Technical Support <[email protected]> > *Subject:* Re: [dspace-tech] making private during itemimport > > Tim, Sorry to be so hard headed about this, but I tried using the > ItemImpor to embargo an item. These were my settings: > > #### Embargo Settings #### dspace.cfg > > # DC metadata field to hold the user-supplied embargo terms > > embargo.field.terms = dc.date.available > > > # DC metadata field to hold computed "lift date" of embargo > > embargo.field.lift = dc.date.computed > > > # string in terms field to indicate indefinite embargo > > embargo.terms.open = forever > > AND then, in my dublin_core.xml I had: > > *<dcvalue *element="date" qualifier="available"*>*2022-01-01*</dcvalue>* > > > If you go to the Item authorization page, you see that the > bitstream Anonymous permission starts on 2021-12-31, which is correct, but > the item itself is not Private, and therefore can be reached by search or > browse. I don't want the item to be reachable until the embargo period > expires. > > Attached is a screen shot of the Authorization page. > > > > On Tue, Apr 21, 2020 at 3:23 PM Tim Donohue <[email protected]> > wrote: > > Hi Jose, > > Yes, that's possible. There are two types of Embargo in DSpace. You can > Embargo *just* the Bitstream, which would mean that the Item is still > searchable/browsable, but the Bitstream is not downloadable. Or you can > Embargo the entire *Item* (which sounds like what you want), in which case > the entire Item is not accessible/searchable/browsable until the Embargo > expires. > > To Embargo the entire *Item* you need to have the "AccessStep" enabled in > the Submission process, and specify the "Embargo Access until Specific > Date" See > https://wiki.lyrasis.org/display/DSDOC6x/Embargo#Embargo-SimpleEmbargoSettings > > If you only wanted to Embargo the bitstream, you'd instead use the > "UploadWithEmbargoStep". You can choose to enable either of these steps > individually or both, depending on the type(s) of embargo you'd like to > allow. > > When doing a Batch import, you should be able to initialize/create an > Item-Level Embargo via metadata (however, you cannot update an existing > embargo in this way, that would need to be done via the UI or similar). > See the docs at: > https://wiki.lyrasis.org/display/DSDOC6x/Embargo#Embargo-CreatingEmbargoesviaMetadata > > Tim > > ------------------------------ > *From:* [email protected] <[email protected]> on > behalf of Jose Blanco <[email protected]> > *Sent:* Tuesday, April 21, 2020 10:41 AM > *To:* Tim Donohue <[email protected]> > *Cc:* DSpace Technical Support <[email protected]> > *Subject:* Re: [dspace-tech] making private during itemimport > > Tim, I was thinking of the private that means items never show up via > search or browse. We're thinking of using the Embago that comes with 63, > and in the process of marking something as embargoed, you can set it to > private also when using the via ( not sure I can do this using itemimport? > ). I was assuming that when the embargo is lifted the private status is > removed. But perhaps it's not. The bottom line is that we don't want > embargoed items to show up in search or browser until the embargo expires. > Possible? > > -Jose > > On Tue, Apr 21, 2020 at 10:55 AM Tim Donohue <[email protected]> > wrote: > > Hi Jose, > > I'm assuming by "private" you just mean access restricted? Please be > aware that the term "private" can mean two different things in DSpace. > There's the "private item flag" which doesn't access restrict an item...it > just hides it so that it's only available via a direct link/bookmark, see > https://wiki.lyrasis.org/display/DSDOC6x/DSpace+Item+State+Definitions > > There's also the capability to access restrict an entire item (so metadata > + files cannot be visible without special permissions), or just the > bitstreams (so that metadata is publicly visible but bitstreams are *not* > visible or downloadable). > > Using the Item Import script, at this time it's only possible to access > restrict *bitstreams* via the "contents" file. See description of the > "contents" file in this section of the docs: > https://wiki.lyrasis.org/display/DSDOC6x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-DSpaceSimpleArchiveFormat > > However, if you want all Items deposited to a Collection to be > automatically access restricted (at the Item level), you can change the > Collection's "Default read access" setting/group (in the Edit Collection > screen). If you change that setting, then all Items submitted into the > Collection will automatically be access restricted to that Group. > > Tim > ------------------------------ > *From:* [email protected] <[email protected]> on > behalf of Jose Blanco <[email protected]> > *Sent:* Tuesday, April 21, 2020 8:43 AM > *To:* DSpace Technical Support <[email protected]> > *Subject:* [dspace-tech] making private during itemimport > > Is there a way to make an item private when using the itemimport script in > 6.3. I could not find documentation on that. > > Thank you! > -Jose > > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t-RyvHnXspJTkUkjMVgvMp1pw9pP44C5v5X65A%3DATgtA%40mail.gmail.com > <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t-RyvHnXspJTkUkjMVgvMp1pw9pP44C5v5X65A%3DATgtA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t9xcfW_9-%3DKPV-HBUkmjMVFXeEi-NXhNu96YMZP3DbeQ%40mail.gmail.com > <https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-t9xcfW_9-%3DKPV-HBUkmjMVFXeEi-NXhNu96YMZP3DbeQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-vZ0_4XwaomoHouCNAPmq9-WZcO75q7Jrr7Yc0CS9fkgA%40mail.gmail.com.
