Hi, Ben and Kyle: One way we handled this was by removing the self-registration option from JSPs. This way only the Administrator can create new accounts.
At 05:59 PM 7/19/2007, Kyle Brentnell wrote: >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: dspace-tech@lists.sourceforge.net >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 >DSpace-tech@lists.sourceforge.net >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 >DSpace-tech@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/dspace-tech *************************** George Kozak Coordinator Web Development and Management Digital Media Group 501 Olin Library Cornell University 607-255-8924 *************************** [EMAIL PROTECTED] ------------------------------------------------------------------------- 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 DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech