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:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to