Re: [Dspace-tech] HIDE COMMUNITIES

2015-02-06 Thread Terry Brady
I do not believe that this is currently possible.  The links will be
presented to the user and then ask them to authenticate/report no access.

I would find this capability to be configurable at a collection level.  It
would allow a collection administrator to configure and populate a
collection without displaying it to end users.

Terry

On Tue, Feb 3, 2015 at 1:57 PM, Fernando Casas Osorio 
wrote:

> Regards,
>
> As I can hide communities and collections in DSpace 4.0 to users who do
> not have permission to access to them?
>
> Thanks for your help.
>
> Fernando Casas Osorio
>
>
> --
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] HIDE COMMUNITIES

2015-02-03 Thread Fernando Casas Osorio
Regards,
As I can hide communities and collections in DSpace 4.0 to users who do not 
have permission to access to them?
Thanks for your help.

Fernando Casas Osorio --
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Hide "Communities or Collections matching your query"

2014-11-24 Thread Tomas Cohen Arazi
Is it possible to filter that portion out of the results section?

I uncommented this:



search.resourcetype:2


on spring/api/discovery.xml following some docs but it doesn't seem to
work. It seems to happen before the cocoon chain so I cannot filter it out
using XSLT either.

Thanks in advance
Tomas
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-12 Thread Thornton, Susan M. (LARC-B702)[LITES]
Although I'm not using discovery, I do have a DSpace instance where we have 
"limited" documents where I made (some pretty extensive) modifications to 
restrict search and browse results based on one's DSpace-defined access.

Example:  If  user ONLY has access to Collection A's documents, if they do a 
search, they will ONLY get results back from Collection A.

I also made modifications so that a user can click a link in the nav bar and 
see a list of ONLY the communities and collections they have READ access to.  
The main menu shows a list of ALL communities and collections so users will 
know what's in the repository, in case they want to request access, but if they 
click on one of the collections they don't have access to, they'll get an error 
message indicating they don't have access and will have to request access 
through our access control application.

Unfortunately, it would be very difficult for me to list all of the changes I 
made and it's an old DSpace version (1.5.2) we're getting ready to upgrade so 
I'm sure the code is going to change.

Cheers,
Sue


Sue Walker-Thornton
(w):  (757) 864-2368
(m):  (757) 506-9903

From: Matthew Drover [mailto:mattdro...@mun.ca]
Sent: Thursday, April 11, 2013 8:06 PM
To: heli...@centrum.sk
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] hide communities/collecitons from discovery search

Yes, I'm using Mirage. On a side note, is it possible to exclude results form a 
public user so they do not see items they have no access to. I was thinking of 
editing the indexing method to not index them, but I'm hoping there is another 
way.

Any ideas.

-Matthew


On 2013-04-11 10:56 AM, "helix84" 
mailto:heli...@centrum.sk>> wrote:
xmlui is an interface, not theme. I'll assume you're using the default Mirage 
interface.

The generic solution (works regardless of theme used) is to comment out the 
following "if" block and rebuild DSpace:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/AbstractSearch.java#L375

The specific solution for dri2xhtml-alt based templates (including Mirage) is 
to change this template:
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl#L38

to




 
   
   
   
   
 
   

In this case you have to modify that exact file in the dri2xhtml-alt, 
overriding the template in your derived theme doesn't work for some reason I 
didn't figure out (if you do that, you'll notice the formatting of item list 
below is broken).

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


This electronic communication is governed by the terms and conditions at 
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-12 Thread Kevin Van de Velde
Hi Matt,

*Return only item results*

If you want discovery to only return items uncomment the *defaultFilterQueries
*property found in the [dspace.dir]/config/spring/api/discovery.xml file.
As displayed in the link below.

https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L126

After this restart your server & discovery should only display item results.

*Access based results*

Access based results where added in DSpace 3.0 (
https://jira.duraspace.org/browse/DS-1229). This should be enabled by
default for discovery 3.0, this feature is controlled by the following
plugins:

https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L25
https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L27

Hope this helps,


Kind regards,

[image: logo]
Kevin Van de Velde *@mire*
*2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010*
*Esperantolaan 4, Heverlee 3001, Belgium*
www.atmire.com


On 12 April 2013 09:47, helix84  wrote:

> I'm not 100% familiar with this area, but I don't think you can hide
> items only from Anonymous users.
>
> You can however, make them Private, which means they will be
> accessible only to the Administrator. This is a new feature and not
> very well documented, but I know private items will be excluded from
> discovery search results.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> --
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
<<@mire_web_2.jpg>>--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-12 Thread helix84
I'm not 100% familiar with this area, but I don't think you can hide
items only from Anonymous users.

You can however, make them Private, which means they will be
accessible only to the Administrator. This is a new feature and not
very well documented, but I know private items will be excluded from
discovery search results.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread Matthew Drover
Yes, I¹m using Mirage. On a side note, is it possible to exclude results
form a public user so they do not see items they have no access to. I was
thinking of editing the indexing method to not index them, but I¹m hoping
there is another way.

Any ideas.

-Matthew


On 2013-04-11 10:56 AM, "helix84"  wrote:

> xmlui is an interface, not theme. I'll assume you're using the default Mirage
> interface.
> 
> The generic solution (works regardless of theme used) is to comment out the
> following "if" block and rebuild DSpace:
> 
> https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/or
> g/dspace/app/xmlui/aspect/discovery/AbstractSearch.java#L375
> 
> The specific solution for dri2xhtml-alt based templates (including Mirage) is
> to change this template:
> https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/
> themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl#L38
> 
> to
> 
> 
> 
> 
>   
> 
> 
>  mode="dsoList"/>
> 
>   
> 
> 
> In this case you have to modify that exact file in the dri2xhtml-alt,
> overriding the template in your derived theme doesn't work for some reason I
> didn't figure out (if you do that, you'll notice the formatting of item list
> below is broken).
> 
> Regards,
> ~~helix84
> 
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> 
> 


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread helix84
xmlui is an interface, not theme. I'll assume you're using the default
Mirage interface.

The generic solution (works regardless of theme used) is to comment out the
following "if" block and rebuild DSpace:

https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/discovery/AbstractSearch.java#L375

The specific solution for dri2xhtml-alt based templates (including Mirage)
is to change this template:
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/discovery.xsl#L38

to



  




  



In this case you have to modify that exact file in the dri2xhtml-alt,
overriding the template in your derived theme doesn't work for some reason
I didn't figure out (if you do that, you'll notice the formatting of item
list below is broken).

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread Drover, Matt
Sorry, it's dspace 3 and xmlui.

 

From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: Thursday, April 11, 2013 9:46 AM
To: Drover, Matt
Cc: dspace-tech
Subject: Re: [Dspace-tech] hide communities/collecitons from discovery search

 

DSpace version and theme?



Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread helix84
DSpace version and theme?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] hide communities/collecitons from discovery search

2013-04-11 Thread Drover, Matt
I have discovery setup as my search option. It works great. But I would
like it to only display items found. Currently it displays a list of
communities and collections then the items. Is this possible ?

 

Matthew Drover
Programmer Consultant

Immersive Technology
Distance Education, Learning and Teaching Support

Memorial University of Newfoundland 





This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette