[xwiki-users] How to the restrict the user name and group name serach?
Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?* I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance.
Hi!
________________________________________ From: users-bounces@xwiki.org [users-bounces@xwiki.org] On Behalf Of mohit gupta [motgupta@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach?
Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?*
I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance.
By default, users and groups are created in XWiki space. Perhaps could it be useful and enough for you to blacklist XWiki space as stated here...? http://jira.xwiki.org/browse/XWIKI-6679 HTH! Ricardo
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hi Racardo, in templates/xwikivars.vm i already see below code #if ($hasAdmin || $isAdvancedUser) #set ($blacklistedSpaces = []) #else #set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats', 'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode', 'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes', 'AnnotationCode']) #end As per above code looks like 'XWiki' space is already a blacklisted space nor user other than admin rights.But still i am able to search user and group name? On Wed, Mar 28, 2012 at 3:16 AM, < Ricardo.Julio.Rodriguez.Fernandez@sergas.es> wrote:
Hi!
________________________________________ From: users-bounces@xwiki.org [users-bounces@xwiki.org] On Behalf Of mohit gupta [motgupta@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach?
Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?*
I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance.
By default, users and groups are created in XWiki space. Perhaps could it be useful and enough for you to blacklist XWiki space as stated here...?
http://jira.xwiki.org/browse/XWIKI-6679
HTH!
Ricardo
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Hi! Sorry for being late at following this issue!
________________________________________ From: users-bounces@xwiki.org [users-bounces@xwiki.org] On Behalf Of mohit gupta [motgupta@gmail.com] Sent: 28 March 2012 08:10 To: XWiki Users Subject: Re: [xwiki-users] How to the restrict the user name and group name serach?
Hi Racardo,
in templates/xwikivars.vm i already see below code
#if ($hasAdmin || $isAdvancedUser) #set ($blacklistedSpaces = []) #else #set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats', 'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode', 'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes', 'AnnotationCode']) #end
As per above code looks like 'XWiki' space is already a blacklisted space nor user other than admin rights.But still i am able to search user and group name?
Well, as far as I see here, xwikivars.vm is woking as expected. Please, are you sure you are using a simple user that is not an Admin? As you see in the if clausule, for Admin and Advanceduser, $blacklistedSpaces is set to a blank list. Thus, documents in all spaces are in the result set of any given search. HTH! Ricardo
On Wed, Mar 28, 2012 at 3:16 AM, < Ricardo.Julio.Rodriguez.Fernandez@sergas.es> wrote:
Hi!
________________________________________ From: users-bounces@xwiki.org [users-bounces@xwiki.org] On Behalf Of mohit gupta [motgupta@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach?
Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?*
I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance.
By default, users and groups are created in XWiki space. Perhaps could it be useful and enough for you to blacklist XWiki space as stated here...?
http://jira.xwiki.org/browse/XWIKI-6679
HTH!
Ricardo
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada. Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada. See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Thanks Recardo. On Sat, Mar 31, 2012 at 5:00 AM, < Ricardo.Julio.Rodriguez.Fernandez@sergas.es> wrote:
Hi! Sorry for being late at following this issue!
________________________________________ From: users-bounces@xwiki.org [users-bounces@xwiki.org] On Behalf Of mohit gupta [motgupta@gmail.com] Sent: 28 March 2012 08:10 To: XWiki Users Subject: Re: [xwiki-users] How to the restrict the user name and group name serach?
Hi Racardo,
in templates/xwikivars.vm i already see below code
#if ($hasAdmin || $isAdvancedUser) #set ($blacklistedSpaces = []) #else #set ($blacklistedSpaces = ['Import', 'Panels', 'Scheduler', 'Stats', 'XAppClasses', 'XAppSheets', 'XAppTemplates', 'XWiki', 'WatchCode', 'WatchSheets', 'XApp', 'WatchAdmin', 'Watch', 'ColorThemes', 'AnnotationCode']) #end
As per above code looks like 'XWiki' space is already a blacklisted space nor user other than admin rights.But still i am able to search user and group name?
Well, as far as I see here, xwikivars.vm is woking as expected. Please, are you sure you are using a simple user that is not an Admin? As you see in the if clausule, for Admin and Advanceduser, $blacklistedSpaces is set to a blank list. Thus, documents in all spaces are in the result set of any given search.
HTH!
Ricardo
On Wed, Mar 28, 2012 at 3:16 AM, < Ricardo.Julio.Rodriguez.Fernandez@sergas.es> wrote:
Hi!
________________________________________ From: users-bounces@xwiki.org [users-bounces@xwiki.org] On Behalf Of mohit gupta [motgupta@gmail.com] Sent: 27 March 2012 13:49 To: XWiki Users Subject: [xwiki-users] How to the restrict the user name and group name serach?
Hi All, I dont want to allow the user name or group name search on xwiki(either it is on click of search button and search sugest). *Basically what i want is if any user put some user name or user group name in search text box , it should not return any results. Looking for your expert suggestion how i can go for it?*
I am sure it should be possible in xwiki looking at its flexibility but could not figure it out how. Even if i have to make some modification in code iam open for that. Thanks in advance.
By default, users and groups are created in XWiki space. Perhaps could it be useful and enough for you to blacklist XWiki space as stated here...?
http://jira.xwiki.org/browse/XWIKI-6679
HTH!
Ricardo
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Nota: A informaci?n contida nesta mensaxe e os seus posibles documentos adxuntos ? privada e confidencial e est? dirixida ?nicamente ? seu destinatario/a. Se vostede non ? o/a destinatario/a orixinal desta mensaxe, por favor elim?nea. A distribuci?n ou copia desta mensaxe non est? autorizada.
Nota: La informaci?n contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y est? dirigida ?nicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elim?nelo. La distribuci?n o copia de este mensaje no est? autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
mohit gupta -
Ricardo.Julio.Rodriguez.Fernandez@sergas.es