Hi Ben,

Two possiblities come to mind right away.  Others may have more elegant
solutions, that do not require DB or coding changes.

1) In the EPerson table set the "can_log_in" column to false for all
users(except the Administrator).  This assumes anonymous users can not make
any changes to items (default Dspace behaviour).  To allow access reset the
"can_log_in" flag to the original values.

2) Change the authenticateInternal method in the AuthenticationManager.java
class to always return "BAD_ARGS" or "NO_SUCH_USER", etc. to prevent users
from logging into Dspace.  To allow access again, restore the original
authenticateInternal code (and compile and deploy of course).

Kyle



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Weinberg,
Ben
Sent: July 19, 2007 5:41 PM
To: [email protected]
Subject: [Dspace-tech] Running DSpace in read-only mode.

 Does anyone know how I can set dspace temporarily to be a read only system.
I will need a quick reversion to a read-write system.
We're basically looking to provide access to dspace while we migrate the
database and assetstore to another system.
Thanks,
Ben Weinberg
HP Labs Digital Library
Palo Alto, CA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to