[xwiki-devs] Create a space dynamicaaly
How can I create a space dynamically and set access rights? Thanks, Firmusoft
Hi Firmusoft, Spaces don’t exist in practice. They appear when you create one document with a space prefix. See http://platform.xwiki.org/xwiki/bin/view/Features/Spaces So just create a document named SpaceYouWant.DocumentName and the space SpaceYouWant will appear :) For setting access rights dynamically, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights Thanks -Vincent On 25 Jul 2014 at 13:56:57, Firmusoft Xwiki ([email protected](mailto:[email protected])) wrote:
How can I create a space dynamically and set access rights?
Thanks, Firmusoft
Thanks Vincent for the reply. It works when the user is logged in but neither the space nor the document is created for a xwikiguest user( I mean without logging in). How can we achieve this without logging in? Thanks, Najeel On Fri, Jul 25, 2014 at 5:03 PM, [email protected] <[email protected]> wrote:
Hi Firmusoft,
Spaces don’t exist in practice. They appear when you create one document with a space prefix. See http://platform.xwiki.org/xwiki/bin/view/Features/Spaces
So just create a document named SpaceYouWant.DocumentName and the space SpaceYouWant will appear :)
For setting access rights dynamically, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights
Thanks -Vincent
On 25 Jul 2014 at 13:56:57, Firmusoft Xwiki ([email protected] (mailto:[email protected])) wrote:
How can I create a space dynamically and set access rights?
Thanks, Firmusoft
How do you actually create the space, and which user action triggers it? Maybe the permissions are set in a way that anonymous users cannot create pages; in that case they cannot create spaces, either Clemens
Thanks Vincent for the reply. It works when the user is logged in but neither the space nor the document is created for a xwikiguest user( I mean without logging in). How can we achieve this without logging in?
Thanks, Najeel
On Fri, Jul 25, 2014 at 5:03 PM, [email protected] <[email protected]> wrote:
Hi Firmusoft,
Spaces don’t exist in practice. They appear when you create one document with a space prefix. See http://platform.xwiki.org/xwiki/bin/view/Features/Spaces
So just create a document named SpaceYouWant.DocumentName and the space SpaceYouWant will appear :)
For setting access rights dynamically, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Setting+Rights
Thanks -Vincent
On 25 Jul 2014 at 13:56:57, Firmusoft Xwiki ([email protected] (mailto:[email protected])) wrote:
How can I create a space dynamically and set access rights?
Thanks, Firmusoft
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
mit freundlichen Grüßen Clemens Klein-Robbenhaar -- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 [email protected] HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008
participants (3)
-
Clemens Klein-Robbenhaar -
Firmusoft Xwiki -
vincent@massol.net