On Thu, Oct 16, 2008 at 2:27 AM, Janssens Karen <[EMAIL PROTECTED]> wrote:
> We are working with DSpace 1.5.1 and the Manakin interface. We would
> like to remove the login-functionality for our repository users. The
> most easiest way to do this is, of course, by removing the "e-person"
> aspect from the xmlui.xconf file.
>
> However: when you do this, I don't see how you can reach the
> 'administrator' section and functionalities... Is there a bypass to
> still be able to login into manakin as administrator, but get rid of all
> the login-functionalities for end-users?
It seems to me that what you really want to do is remove the login
link from the sidebar; your admins can then bookmark the login URL and
use it normally, but no one else will know that DSpace can be logged
into.
You could try to override this in your theme by refusing to display
the <list> element with id
"aspect.artifactbrowser.Navigation.list.account", but this will create
the unwelcome side effect that logged-in administrators won't have any
way to log *out*.
I suspect it would be preferable to go into
xmlui/aspect/eperson/Navigation.java and comment out the else clause
in the following code (lines 209-220):
if (eperson != null)
{
String fullName = eperson.getFullName();
account.addItemXref(contextPath+"/logout",T_logout);
account.addItemXref(contextPath+"/profile",T_profile.parameterize(fullName));
}
else
{
account.addItemXref(contextPath+"/login",T_login);
if
(ConfigurationManager.getBooleanProperty("xmlui.user.registration",
true))
account.addItemXref(contextPath+"/register",T_register);
}
Without the else clause, ordinary users won't see any login or
register links. You may also decide to comment out line 207:
account.setHead(T_my_account);
but that may be somewhat easier to deal with on the theme level.
Hope this helps!
Dorothea
--
Dorothea Salo [EMAIL PROTECTED]
Digital Repository Librarian AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech