On Sat, Dec 1, 2012 at 6:26 AM, Parul dubey <[email protected]> wrote: > 1. Wanted to know is there a possibility for restrict certain menu > Items to particular administrator. > > For example if we have two Administrator user1 and user2. > > User1 would have al Admin rights > > User 2 would only be able to see the particular menu Items on the > Left hand side i.e. > > Hide Metadata Registry , work Flow ,authorization , edit default > License etc.
Hi Parul, that is not possible out-of-the-box. It can be done by editing the sitemaps, which would check whether the logged in user is a particular user (or a member of a particular group), but it's a bit complicated. You can see an example of restricting a particular URL endpoint to a particular group here: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/resources/aspects/StatisticsElasticSearch/sitemap.xmap#L51 An easier way would be to edit the template's xsl files and only remove the links from the menu. The user would still have access if he typed the URL. How to do this is described here: https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-HowdoIremovethesearchboxfromthefrontpageinXMLUI? For example in your case, one of the items you'd hide is <xsl:template name="hide_registries" match="dri:list[@id='aspect.administrative.Navigation.list.registries']"> </xsl:template> Furthermore, maybe what you need is just to create a community admin, not a site admin. > 2. If we delete all entries(Collection , communities , user ) from the > database what would be the Command. > > As I have deleted all the collection (ex :2) from front end and then > when adding a new collection then the Collection id is showing 3 instead > of 1 . I'm not sure what you're talking about. The value of collection_id shouldn't matter to you. They're only increasing, that's by design, so you can't reuse an ID of a deleted collection. You could do it manually, but what's your reason? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: DESIGN Expert tips on starting your parallel project right. http://goparallel.sourceforge.net/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

