[Dspace-tech] Remove all rights Communities, Collections, Items, Bitstreams and reset them?

2014-05-09 Thread superthin
Dear Everybody,

My repository have a problem: in the past, some admins of my repository
created communites, collections, and uploaded items,... Someone removed
*default read* right of communities, rename groups of users,...

So, the repository with more than 4000 items was a chaotic thing. Very many
bitstreams cannot downloaded, privilege errors,... And I must set policies
to items by items manually when a user meet problems. This made everybody
discouraged.

I tried to use wildcard tools but failed because many items was set
individually, and we don't know which was reset or not.

My environment: OS = CentOS, database = PostgreSQL 9.3; Dspace 3.0, use
XMLUI and default theme.

I want to remove all polices of all communites, collections, items,
bitstreams (I think the way to do fit to me is run a chains of SQL with my
PostgreSQL), and reset it like:

- Have no *anonymous* access to communities, collections or items. If we
cannot remove anonymous, I want anonymous could browse/search and read only,
they cannot download everything.

- 2 groups of users: *Students, Lecturers* have *read* access, some
communities/ collections will be browse/download by Lecturers only.

- 1 group: *Summiters* has *add* right.

Every items, bitstreams will have no permission individual, it will have
default permission or inherit permission from higher level of
communities/collections.

Please tell me how can I do this? I don't know Java at all, but some SQL,
shell script and C.

Let us be grateful to people who give some advices.

Best regards,
SuperThin.



-
Superthin.
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Remove-all-rights-Communities-Collections-Items-Bitstreams-and-reset-them-tp4672995.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Remove all rights Communities, Collections, Items, Bitstreams and reset them?

2014-05-09 Thread helix84
On Fri, May 9, 2014 at 9:59 AM, superthin nhomk...@gmail.com wrote:
 I want to remove all polices of all communites, collections, items,
 bitstreams (I think the way to do fit to me is run a chains of SQL with my
 PostgreSQL), and reset it like:

Yes, you can use SQL to do that. Look at the resourcepolicy table.
resource_type_id is one of the following constants:
https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace-api/src/main/java/org/dspace/core/Constants.java#L20
resource_id is the relevant bitstream_id, item_id or collection_id.
action_id is one of the following constants:
https://github.com/DSpace/DSpace/blob/dspace-4_x/dspace-api/src/main/java/org/dspace/core/Constants.java#L75
Use either eperson_id or epersongroup_id - not both in the same
resourcepolicy. Ignore start_date and end_date, they are used to
specify embargo.

Don't forget to backup your database before you change anything.
Ideally, clone the DSpace instance to your PC and do the experiments
there. Then when you're satisfied with the result, you can just copy
the database over to your production server.

 - Have no *anonymous* access to communities, collections or items. If we
 cannot remove anonymous, I want anonymous could browse/search and read only,
 they cannot download everything.

Remember that you cannot make communities and collections inaccessible
to anonymous users by removing the anonymous READ permission. That
works only for items and bitstreams. If you remove a permission from a
collection, it will change the default set of permissions that new
items submitted to that collection will get. For explanation, see [1].

 - 2 groups of users: *Students, Lecturers* have *read* access, some
 communities/ collections will be browse/download by Lecturers only.

 - 1 group: *Summiters* has *add* right.

 Every items, bitstreams will have no permission individual, it will have
 default permission or inherit permission from higher level of
 communities/collections.

There is currently no permission inheritance in DSpace. Again, see [1].


[1] 
https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-Ichangedaccessrestrictionsonacollection,butrestrictionsdidn'tchangeonitsitems


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Select epeople buttons not working

2014-05-09 Thread helix84
On Fri, May 9, 2014 at 1:22 AM, Gary Browne gary.bro...@sydney.edu.au wrote:
 This is really quirky. Forgot to say I'm using JSPUI.

 Unusually, it all works in IE 10.

 In Firefox 29 and Chrome 34, there is no response to clicking on the Select 
 Epeople... button, but I can get it to work if I tab to it and hit Enter.


I could not reproduce the problem on demo.dspace.org using Chrome 23
or Firefox 24.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Import from Dspace to OJS

2014-05-09 Thread Claudia Jürgen
Hello David,

OJS got some Import/Export features like the Quick Submit Plugin, maybe 
you can use some of these:
http://pkp.sfu.ca/wiki/index.php/Importing_and_Exporting_Data

As far as I know you can not use OAI-ORE or Sword from DSpace to OJS.

Hope this helps

Claudia Jürgen


Am 09.05.2014 09:12, schrieb David Aznar:
 Hi:

 We know that we can export from OJS to Dspace with SWORD. We would like
 something on  the other way around


 We have a number of  journals  (back issues) in our Institutional Repository
 with Dspace,  (previous to the installation of OJS in the university), and we
 would like to add these  journals  with all the issues and years to OJS.

 Does anyone know any initiative about this question?.

 Thank you very much for your help.

 David


 --
 Documento sin título
 Universidad de Navarra http://www.unav.es/biblioteca/unika/ 

 *David Aznar Lafont*
 Gestión y desarrollo web
 Bibliotecario temático de Derecho
 Servicio Bibliotecas
 31080 Pamplona - España
 Tel. 948 425 600 Ext. 2015
 Biblioteca http://www.unav.es/biblioteca/
 Unika http://www.unav.es/biblioteca/unika
 @davidaznar Twitter
 http://twitter.com/davidaznarPerfil en LinkedIn
 http://es.linkedin.com/pub/david-aznar/b/9a0/315Mis presentaciones y
 publicaciones http://scholar.google.es/citations?user=B9aZGhYJ



 --
 Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
 #149; 3 signs your SCM is hindering your productivity
 #149; Requirements for releasing software faster
 #149; Expert tips and advice for migrating your SCM now
 http://p.sf.net/sfu/perforce



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie 
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der 
für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den 
Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher 
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung 
eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended 
recipient of this e-mail please contact the sender and delete this 
message. Thank you.
Without prejudice of e-mail correspondence our statements are only 
legally binding when they are made in the conventional written form 
(with personal signature) or when such documents are sent by fax.

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Import from Dspace to OJS

2014-05-09 Thread helix84
Sorry, I misread the question - you want to import from DSpace to OJS.

It should be easy to write an XSL stylesheet for the DSpace (3.x and
newer) OAI-PMH interface which would export items in the XML format
that OJS understands.

The OJS article import format is described here:
http://pkp.sfu.ca/wiki/index.php/Importing_and_Exporting_Data#Importing_Articles_and_Issues

How to write the XSL stylesheet for a new metadata export format in
DSpace is documented here:
https://wiki.duraspace.org/display/DSDOC4x/OAI+2.0+Server?showComments=true#OAI2.0Server-Add/RemoveMetadataFormats

Very basic XSLT knowledge is required. You can use the XSL stylesheets
of the existing stylesheets for reference.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Item level stats software for DSPace

2014-05-09 Thread Lewatle Phaladi
Dear All,

Is there anyone of us who knows of item level stats software that I can also 
use to generate statistics on item level from DSpace.

Regards,
Lewatle




table width=100% border=0 cellspacing=0 cellpadding=0 
style=width:100%;
tr
td align=left style=text-align:justify;font face=arial,sans-serif 
size=1 color=#99span style=font-size:11px;This communication is 
intended for the addressee only. It is confidential. If you have received this 
communication in error, please notify us immediately and destroy the original 
message. You may not copy or disseminate this communication without the 
permission of the University. Only authorised signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary. /span/font/td
/tr
/table
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Workflow question - DSpace XML 1.8.2

2014-05-09 Thread Cadmus, Mail Account
Hello

Is there a way to - once enabled workflow steps to one collection in DSpace 182 
xml - skip all workflow steps in the case where a manual submission is 
performed by an administrator? We would like to avoid the task of approving 
your own submissions.

Many thanks in advance

Paolo Baglioni

European University Institute Library



Lotta Svantesson
EUI Repository Manager
Library
European University Institute (EUI)
Via dei Roccettini, 9
50014 San Domenico di Fiesole (Florence) - Italy
Office phone: +39 055 4685 368 - Fax: +39 055 4685 283
e-mail: lotta.svantes...@eui.eu - cad...@eui.eu
web: www.eui.euhttp://www.eui.eu/ - cadmus.eui.eu
Please don't print this e-mail unless you really need to


The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination, distribution, forwarding, or other use 
of, or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited without the express 
permission of the sender. If you received this communication in error, please 
contact the sender and delete the material from any computer.
--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Problem reading solr/home in DSpace 4.1 when running in Jetty

2014-05-09 Thread Brown, Jacob
Answering my own question in case anyone else encounters the same issue:

Jetty isn't configured to support JNDI by default. To enable JNDI you have to:


1)  Add plus to the OPTIONS= line in start.ini

2)  Add etc/jetty-plus.xml to the list of loaded configuration files at 
the end of start.ini

Jetty can then load the solr/home property from the Solr WAR web.xml.

Jacob

From: Brown, Jacob
Sent: Wednesday, March 05, 2014 3:16 PM
To: dspace-tech@lists.sourceforge.net
Subject: Problem reading solr/home in DSpace 4.1 when running in Jetty

Hi all,

I just installed DSpace 4.1 and am running it in Jetty (jetty-8.1.14). When the 
Solr webapp is initializing, I get the following info/errors:

182  [main] INFO  org.apache.solr.core.SolrResourceLoader  - No /solr/home in 
JNDI
183  [main] INFO  org.apache.solr.core.SolrResourceLoader  - solr home 
defaulted to 'solr/' (could not find system property or JNDI)

which causes solr.xml to not get read, which causes Solr to not run properly...

Solr home is appropriately hard-coded (as generated by the install process) 
in [dspace]/webapps/solr/WEB-INF/web.xml (that is, `env-entry-value` is set to 
the appropriate directory). However, this setting is apparently not getting 
read by Jetty.

If I run Jetty with:

java -jar start.jar -Dsolr.solr.home=/path/to/dspace/solr

then Solr is started correctly. I skimmed the listserv and looked around 
online, and didn't see any suggestions for this specific error as related to 
DSpace.

Does anyone have any thoughts?

Thanks,

Jacob Brown
Digital Services Librarian
j.h.br...@tcu.edumailto:j.h.br...@tcu.edu
817-257-5339

--
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
#149; 3 signs your SCM is hindering your productivity
#149; Requirements for releasing software faster
#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette