Categories are a powerful feature in tikiwiki 2.0. They are a key to performing complex permission management. This
handler only allows to create the category tree. To give permissions to the categories or items,
Permission Management must be used.
YAML
objects:
-
type: category
ref: profile_category
data:
name: Profiles
description: Base category used to get complete listing
-
type: category
ref: app_category
data:
name: Applications
parent: $profile_category
items:
- [ tracker, $SampleProfiles:bug_tracker_profile ]
- [ wiki_page, TimeAccounting ]
-
type: category
ref: clone_category
data:
name: Clones
parent: $profile_category
items:
- [ wiki_page, WikipediaClone ]
- [ wiki_page, $OtherProfile:some_page ]
Category Object
Field Name | Mandatory | Value
|
name | yes | The category name
|
parent | | Parent category ID. No value will create a top level category.
|
description | | Category description
|
items | | List of objects to be added to the category. Each entry must be a pair of object type and object ID. |