Hi Dave:

Yes, your use case sounds quite appropriate: the key provision you mention is 
that the restriction is temporary.
If it were permanent, you could employ  the embargo stuff to accommodate it 
anyway (by entering a lift date sufficiently far into the future),
but that would needlessly complicate things. Better in that case would be for 
items to just inherit the policies for the collection (which could be 
restricted to an IP-based group).

Thanks,

Richard
On Mar 3, 2011, at 1:22 PM, Dave Falke wrote:

Thank you, Richard. This will be very useful.

I'd like to clarify my understanding of embargo and what you mean by an "active 
collection" by explaining how we are currently using it.

One of our collections contains items for which the bitstreams are to be 
accessible only to users coming from certain IP ranges. I wrote a custom 
embargo setter that adds read permissions for the group to which users 
authenticated via the IPAuthentication plugin are added. Based on the testing I 
have done, this works just fine immediately after the records are imported--the 
permissions are appropriately set, and access is controlled as expected.

My question is, does this sounds like an appropriate use of the embargo plugin, 
or is there a better approach to this?

The reason I like the embargo plugin for this case is that access to the 
bitstreams is only restricted for a specific period of time. The embargo lifter 
allows us to update the permissions without having to manually intervene.

Thanks for you assistance.

-- Dave

On Thu, Mar 3, 2011 at 1:02 PM, Richard Rodgers 
<[email protected]<mailto:[email protected]>> wrote:
Hi Dave:

It depends on you comfort-level working with java source code. There is no 
standard way in the UI or elsewhere,
since the assumption is that if it's in an active collection, an embargo is 
sort of 'moot'.

However, having said that, you could write a very simple program (I attach a 
rough sample), that would invoke the Embargo machinery
You haven't said how the items are identified, so my sample does all items in 
the repository (probably not what you want, so you would have to change that)

Thanks,

Richard



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to