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 and use this profile as a Data Channel follow this instructions:
First, create a wiki page with the name ws_prototype (or other if you want, but you must adapt the next commands to fit with the name) and then copy this page into your ws_prototype page.
Next you must add this line in data channel field in profiles section:
Data Channel List
ws_prototype, tiki://local, ws_prototype, Admins
Now run the data channel using this uri (adapt it if necessary to fit in your local installation):
Uri Handler WS
http://localhost/ws/tiki-channel.php?channels[0][channel_name]=ws_prototype
And enjoy (probably with a sea of bugs and related problems ;)!!!
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 ]