[xwiki-users] XWiki design and doubts
Hi, I'm new with XWiki and I would like to design a wiki based on the following requsites: 1.- I have two profiles of user: operators and project managers 2.- Project managers shoud be able to view and edit all content 3.- Operators shoud be able to view some content 4.- Search engines may work on Project Managers and Operators 5.- Search results must return only pages where user has rights Based on this requisites I have thought the following 1.- I have created 2 groups 2.- I have created 2 spaces 3.- I have assigned privileges accodingly The problem i have found is. 1.- Project manager can create new spaces 2.- I dont't know how to fix the initial space for Operators (they appear in Main Space) 3.- I don't know how to navigate between spaces I have thougt to create a separate wiki but I would like to use the search engine to search all content. Thanks a lot. Óscar Segarra Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener información confidencial, siendo para uso exclusivo del destinatario, quedando prohibida su divulgación copia o distribución a terceros sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboración. This message (including any attachments) may contain confidential information. It is intended for use by the recipient only. Any dissemination, copying or distribution to third parties without the express consent of the sender is strictly prohibited. If you have received this message in error, please delete it immediately and notify the sender. Thank you for your collaboration.
...
The problem i have found is.
1.- Project manager can create new spaces http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access +Rights#HPreventregularusersfromcreatingnewspaces
2.- I dont't know how to fix the initial space for Operators (they appear in Main Space)
#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end Valdis
Hi, 1.- Project manager can create new spaces --> Fixed: Thanks a lot 2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end --> Where should I place this commands? 3.- I don't know how to navigate between spaces --> Is there any place where to view all paces in order to administer/delete them? --> Is there any way to click in another space in order to view it? Thanks a lot in advance. Óscar Segarra De: Valdis Vītoliņš <[email protected]> Para: XWiki Users <[email protected]>, Fecha: 26/08/2013 21:27 Asunto: Re: [xwiki-users] XWiki design and doubts Enviado por: [email protected] ...
The problem i have found is.
1.- Project manager can create new spaces http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access +Rights#HPreventregularusersfromcreatingnewspaces
2.- I dont't know how to fix the initial space for Operators (they appear in Main Space)
#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end Valdis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener información confidencial, siendo para uso exclusivo del destinatario, quedando prohibida su divulgación copia o distribución a terceros sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboración. This message (including any attachments) may contain confidential information. It is intended for use by the recipient only. Any dissemination, copying or distribution to third parties without the express consent of the sender is strictly prohibited. If you have received this message in error, please delete it immediately and notify the sender. Thank you for your collaboration.
2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end --> Where should I place this commands? Put this code e.g. in Main.WebHome page surrounding by {{velocity}} or you can create macro: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
$response.sendRedirect($xwiki.getURL('Some.Document')) #end --> Where should I place this commands? 3.- I don't know how to navigate between spaces --> Is there any place where to view all paces in order to administer/delete them? You can look at all documents in /xwiki/bin/view/Main/AllDocs page Actually there is no object called "Space" in XWiki. Space is property of the XWiki Document and "Create space" actually means "Create Space.WebHome document". To delete space you need to delete all documents (including hidden ones) which are grouped in this space. To do it automatically use code from the: http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Space
--> Is there any way to click in another space in order to view it? XWiki Panel Wizard has built-in "Spaces" and "Space documents" panels: http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/ChangingTheLogoAnd...
And of course, you can create your own panels. Valdis
Hi Óscar, See below Вторник, 27 августа 2013, 9:30 +02:00 от Oscar Segarra Rey <[email protected]>:
Hi,
1.- Project manager can create new spaces --> Fixed: Thanks a lot
2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end --> Where should I place this commands? {{velocity}} #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end {{/velocity}}
Put this code inside the page Main.WebHome and it will redirect users in DemoGroup to the Some.Document. Or just change Page Names to required.
3.- I don't know how to navigate between spaces --> Is there any place where to view all paces in order to administer/delete them? --> Is there any way to click in another space in order to view it? XWiki has simple "adressing" system: "wiki:Space.Page" or inside one wiki: "Space.Page". The space's "main page" has default name WebHome, so to link it, put the link SpaceName.WebHome and it will work. Read more at http://enterprise.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax
To view all spaces, visit Main.AllDocs page, hope it will fit your needs. BUT, to delete space, delete ALL pages in it, including WebHome page, then it would be "erased" or just use http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Space To rename Space: http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space Also try http://main.xwiki.org/xwiki/bin/view/Main/Documentation , especially http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/WebHome and jus follow links. Developer's part would be useful also.
Thanks a lot in advance.
Óscar Segarra
De: Valdis Vītoliņš < [email protected] > Para: XWiki Users < [email protected] >, Fecha: 26/08/2013 21:27 Asunto: Re: [xwiki-users] XWiki design and doubts Enviado por: [email protected]
...
The problem i have found is.
1.- Project manager can create new spaces http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access +Rights#HPreventregularusersfromcreatingnewspaces
2.- I dont't know how to fix the initial space for Operators (they appear in Main Space)
#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup")) $response.sendRedirect($xwiki.getURL('Some.Document')) #end
Valdis
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener información confidencial, siendo para uso exclusivo del destinatario, quedando prohibida su divulgación copia o distribución a terceros sin la autorización expresa del remitente. Si Vd. ha recibido este mensaje erróneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboración.
This message (including any attachments) may contain confidential information. It is intended for use by the recipient only. Any dissemination, copying or distribution to third parties without the express consent of the sender is strictly prohibited. If you have received this message in error, please delete it immediately and notify the sender. Thank you for your collaboration. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Kind regards, Dmitry
participants (3)
-
Dmitry Bakbardin -
Oscar Segarra Rey -
Valdis Vītoliņš