Thank you Tim,

In the real program I am logging in as admin. But I wanted to check quickly 
in the browser what will I get in the program and here 
"dc.description.provenance" was missing. Now I know why :)

Thank you again
Evgeni

On Monday, January 22, 2018 at 5:12:54 PM UTC+2, Tim Donohue wrote:
>
> Hi Evgeni,
>
> I'm pretty sure the REST API hides any fields that are in the 
> "metadata.hide. " settings in your dspace.cfg (or local.cfg) file.  By 
> default, "dc.description.provenance" is hidden to anonymous users (in all 
> interfaces), as it may contain sensitive or private information (email 
> addresses, etc). It is available however from a UI if you are logged in as 
> an Administrator or someone with edit metadata rights (as you noted)
>
> It should also be available/visible if you authenticate to the REST API 
> first, and then look at the Item metadata while authenticated.
>
> Alternatively, if you want this field to be available in all interfaces, 
> you can un-hide it (in all interfaces) by commenting out this line of the 
> dspace.cfg:
>
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace/config/dspace.cfg#L798
>
> - Tim
>
> On Mon, Jan 22, 2018 at 9:01 AM Evgeni Dimitrov <dimitr...@gmail.com 
> <javascript:>> wrote:
>
>> When I do in xmlui Item Edit/Metadata, then I see 
>> dc.description.provenance with a meaningful value.
>>
>> When I enter in the browser 
>> .../rest/items/{item UUID}/metadata
>>
>> then there is no dc.description.provenance
>>
>> Is there some easy patch that I could apply to 6.2?
>>
>> -- 
>> 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 dspace-tech...@googlegroups.com <javascript:>.
>> To post to this group, send email to dspac...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to