This is only for testing purposes, it's very unstable so don't use it in a production server!!!
NOTE: If you want to test in your localhost, you can trigger this with a data channel too.
For doing this, you ought to add this line in data channel field in profiles:
ws_prototype,
tiki://local, ws_prototype, Admins
And then run the data channel in your localhost (remember to create a wiki page with the name ws_prototype and fill the content with this profile).
YAML
objects:
-
type: ws
data:
name: Benji WS
description: Benji realm
parent: null
groups:
-
name: Ike fan group
description: This is only for fans of Ike character in Brawl
members: [ name1, name2, name3 ]
allow: [ admin_groups, admin_objects ]
objects:
-
type: wiki_page
data:
name: SampleWiki
description: My description
mode: create_or_update
content: Prueba
allow: [ forum_post, forum_post_topic, forum_read ]
share_with:
-
ws_name: ws2
groups: [ groupWS2 ]
perms:
allow: [ forum_post, forum_read ]
-
ws_name: ws3
groups: [ group1WS3, group2WS3 ]
perms:
allow: [ forum_read ]
deny: [ forum_post ]
-
ws_name: ws4
groups: [ all ]
perms:
allow: [ drain_perms ]