[Dspace-tech] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Alcides Carlos de Moraes Neto
Hello all,

I manage a 3.2 dspace installation here. I configured it to use the simple
embargo form, and it works.
But all the embargoed items show in the page listings, specifically, recent
submissions and collection browsing.

I tested the embargo functionality on the dspace demo site, and the items
are shown there as well.

Is there a way to hide them?
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Andrea Schweer
Hi,

On 08/05/15 10:00, Terry Brady wrote:
 From my experience in DSpace 3, the browse indexes were not aware of 
 access rights.  All items appeared in browse. Restricted item did not 
 appear faceted (discovery) navigation for an unauthenticated user.

 This issue was resolved for me after upgrading to DSpace 4.

Thanks Terry -- we skipped DSpace 3 because of issues around embargoes 
(ie went straight from 1.8.x to 4.x), so I'm never too sure what the 
expected DSpace 3 behaviour is. Plus most of my repositories are quite 
heavily customised around embargoed/dark items anyway.

 Since the Demo site is running the current version of DSpace, I am 
 surprised that the embargo items are not being hidden.

That does sound strange. I don't have time to try this out, but I'd check
- that the embargoed items still show up in the recently added list when 
you aren't logged in -- this really shouldn't be the case if the 
authorisation policies are correct
- that the authorisation policy for the item doesn't allow READ for the 
Anonymous group -- I could imagine that either something went wrong with 
setting the permissions, or the permissions are restricting only the 
file but not the entire item.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Andrea Schweer
Hi,

On 08/05/15 06:35, Alcides Carlos de Moraes Neto wrote:
 I manage a 3.2 dspace installation here. I configured it to use the 
 simple embargo form, and it works.
 But all the embargoed items show in the page listings, specifically, 
 recent submissions and collection browsing.

 I tested the embargo functionality on the dspace demo site, and the 
 items are shown there as well.

 Is there a way to hide them?

Do they show up even when you are not logged in? DSpace 3 uses access 
rights awareness 
(https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Accessitembasedresults)
 
for this, so in theory you should only see the item in the recent 
submissions lists etc when you're logged in as a user who has READ 
permissions on the item.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
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] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Terry Brady
From my experience in DSpace 3, the browse indexes were not aware of access
rights.  All items appeared in browse. Restricted item did not appear
faceted (discovery) navigation for an unauthenticated user.

This issue was resolved for me after upgrading to DSpace 4.

Since the Demo site is running the current version of DSpace, I am
surprised that the embargo items are not being hidden.




On Thu, May 7, 2015 at 2:34 PM, Andrea Schweer schw...@waikato.ac.nz
wrote:

 Hi,

 On 08/05/15 06:35, Alcides Carlos de Moraes Neto wrote:
  I manage a 3.2 dspace installation here. I configured it to use the
  simple embargo form, and it works.
  But all the embargoed items show in the page listings, specifically,
  recent submissions and collection browsing.
 
  I tested the embargo functionality on the dspace demo site, and the
  items are shown there as well.
 
  Is there a way to hide them?

 Do they show up even when you are not logged in? DSpace 3 uses access
 rights awareness
 (
 https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Accessitembasedresults
 )
 for this, so in theory you should only see the item in the recent
 submissions lists etc when you're logged in as a user who has READ
 permissions on the item.

 cheers,
 Andrea

 --
 Dr Andrea Schweer
 IRR Technical Specialist, ITS Information Systems
 The University of Waikato, Hamilton, New Zealand



 --
 One dashboard for servers and applications across Physical-Virtual-Cloud
 Widest out-of-the-box monitoring support with 50+ applications
 Performance metrics, stats and reports that give you Actionable Insights
 Deep dive visibility with transaction tracing using APM Insight.
 http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
 ___
 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




-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
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] Embargoed items

2015-02-09 Thread helix84
On Fri, Feb 6, 2015 at 6:24 PM, Collier, Aaron acoll...@calstate.edu wrote:
 http://localhost:24091/solr/search/select/?q=dc.date.embargountil:*fl=handle,dc.date.embargountilrows=100wt=json

Hi Aaron,

did you know that it's easier to use the phps Solr writer when querying
Solr from PHP? No need for json decoding. I added a complete example here:

https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Solrresponses


Regards,
~~helix84

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

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
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] Embargoed items

2015-02-06 Thread Terry Brady
I do not know how to gather this information without querying the
database.  Since an embargo can be set via a policy restriction rather than
in metadata, I would be cautious about querying the metadata fields.

Restricted Items SQL
https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/selfQueryCommon.php#L251-L260

Restricted Bitstream SQL
https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/selfQueryCommon.php#L295-L314

You can prefix each of these queries with select * from item i where 1=1 
as a test.

Terry

On Fri, Feb 6, 2015 at 9:24 AM, Collier, Aaron acoll...@calstate.edu
wrote:

 Hey Guillermo,



 I query SOLR to get this data for a validation script that I wrote:




 http://localhost:24091/solr/search/select/?q=dc.date.embargountil:*fl=handle,dc.date.embargountilrows=100wt=json



 This makes it pretty easy to parse in PHP and do pretty much anything you
 need with the data.



 *From:* Guillermo Esteban Murillo Goussen [mailto:mem...@gmail.com]
 *Sent:* Friday, February 06, 2015 9:12 AM
 *To:* DSpace Tech
 *Subject:* [Dspace-tech] Embargoed items



 Hi folks!  Quick question: Is there a way to list all the embargoed items
 or I'll have to dive into the database?



 Thanks a lot,



 Guillermo Murillo Goussen

 Universidad de Costa Rica

 www.kerwa.ucr.ac.cr



 --

 La pureza del alma no se pierde sin consentimiento


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 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




-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Embargoed items

2015-02-06 Thread Guillermo Esteban Murillo Goussen
Hi folks!  Quick question: Is there a way to list all the embargoed items
or I'll have to dive into the database?

Thanks a lot,

Guillermo Murillo Goussen
Universidad de Costa Rica
www.kerwa.ucr.ac.cr

-- 
La pureza del alma no se pierde sin consentimiento
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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] Embargoed items

2015-02-06 Thread Collier, Aaron
Hey Guillermo,

I query SOLR to get this data for a validation script that I wrote:

http://localhost:24091/solr/search/select/?q=dc.date.embargountil:*fl=handle,dc.date.embargountilrows=100wt=json

This makes it pretty easy to parse in PHP and do pretty much anything you need 
with the data.

From: Guillermo Esteban Murillo Goussen [mailto:mem...@gmail.com]
Sent: Friday, February 06, 2015 9:12 AM
To: DSpace Tech
Subject: [Dspace-tech] Embargoed items

Hi folks!  Quick question: Is there a way to list all the embargoed items or 
I'll have to dive into the database?

Thanks a lot,

Guillermo Murillo Goussen
Universidad de Costa Rica
www.kerwa.ucr.ac.crhttp://www.kerwa.ucr.ac.cr

--
La pureza del alma no se pierde sin consentimiento
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
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