Re: [Dspace-tech] DSpace authorization policies

2015-04-16 Thread Muilwijk, M. (Marina)
Hello Layale, you need the resourcepolicy table. Here's what I use (in DSpace 3.2) to give Anonymous read access to an item: select nextval('resourcepolicy_seq'); (this gets the next resourcepolicy_id) insert into resourcepolicy (policy_id, resource_type_id, resource_id, action_id,

[Dspace-tech] Are embargoes through SWORD possible with the new system?

2015-04-16 Thread Àlex Magaz Graça
Hi, Currently we are submitting embargoed items through SWORD to a DSpace 4.3 with the old embargo system. If I understand it correctly, it works because DSpace finds the embargo terms field which is used to set the embargo. I was looking into switching to the new embargo system, but it no

Re: [Dspace-tech] DSpace authorization policies

2015-04-16 Thread Layale Bassil
Hello Terry, Thank you so much for the below info. I checked the PHP code and the queries but still a little lost. What I need should be straighforward since you are familiar with the tables’ structure. I have a list of items and I need to write and SQL Statement in order to set the access to

[Dspace-tech] Fwd: Ant fresh_install error

2015-04-16 Thread shivang mehta
Hi I am getting error build failed while ant fresh_install error is org.postgresql.util.PSQLException: Protocol error. Session setup failed. Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\admincd c:/ c:\dspace 'dspace' is not

[Dspace-tech] SQL command to update bitstream description text (DSpace 5.1)

2015-04-16 Thread Michelangelo M M Viana
Hi, Can someone tell me what is the proper SQL command to update bitstream description of items in DSpace (5.1) PostGreSQL dabatase, especially when it is empty (null)? Or even a way to do that using dspace executable (command line)? We generated items to be imported with the content file

Re: [Dspace-tech] SQL command to update bitstream description text (DSpace 5.1)

2015-04-16 Thread Monika C. Mevenkamp
Assuming you want to do this on all bitstreams in your system that have a particular format you can do the following: SELECT * FROM BITSTREAMFORMATREGISTRY; choose the format you want to work with and pick the number from the BITSTREAM_FORMAT_ID column. then assuming you want to work with

Re: [Dspace-tech] DSpace authorization policies

2015-04-16 Thread Layale Bassil
Hello Marina, Thank you so much for your prompt response. I will try your suggestion and get back to you. Many thanks, Regards. Layale. From: Muilwijk, M. (Marina) [mailto:m.muilw...@uu.nl] Sent: Thursday, April 16, 2015 11:53 AM To: Layale Bassil Cc: Dspace Tech list Subject: Re:

[Dspace-tech] FW: Embargo not lifting in 4.x after upgrade from 1.8.3

2015-04-16 Thread Anthony Petryk
-Original Message- From: Anthony Petryk Sent: Thursday, April 16, 2015 11:24 AM To: 'Hayles, Steven' Subject: RE: [Dspace-tech] Embargo not lifting in 4.x after upgrade from 1.8.3 Hi Steven, We too were unsuccessful in trying to convert the old style embargoes. It didn't matter much

[Dspace-tech] Adding New Aspect in Dspace 4.2 Xmlui

2015-04-16 Thread Susmita
I want to add a new aspect to DSpace with a new java class. I've followed this * https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial#Manakinthemetutorial-Addingstaticpages LINK* and made all the necessary changes. After rebuilding the package and running ant update, I'm still not

[Dspace-tech] Adding New Aspect in Dspace 4.2 Xmlui

2015-04-16 Thread Susmita
I want to add a new aspect to DSpace with a new java class. I've followed this link and made all the necessary changes. After rebuilding the package and running ant update, I'm still not being able to see any change. I checked my dspace installation directory, and found that the class added by me