Loading...
 
Skip to main content

History: Category_Permissions_Test

Source of version: 12 (current)

Copy to clipboard
            {maketoc}
The purpose of this profile is to generate a quick start for a Corporate Intranet of a typical medium-sized business. The profile will ask a few questions.

This will have the general look of ui.tikiwiki.org with the coelesce.css theme.

!!Features & settings
{CODE(caption=>YAML)}
preferences:
 feature_articles : y
 feature_blogs : n
 feature_calendar : n
 feature_file_galleries : n
 feature_forums : n
 feature_polls : n
 feature_trackers : n
 feature_newsletters : n
 feature_categories : y
 feature_score : n
 feature_search : y
 feature_minichat : n
 feature_user_watches : y
 feature_group_watches : y
 feature_groupalert : y
 feature_messages : n
 feature_notepad : n
 feature_tasks : n
 feature_mytiki : n
 feature_user_bookmarks : n
 feature_userfiles : n
 feature_wiki : y
 feature_wiki_print : y
 feature_wiki_attachments: y
 feature_wiki_comments: y
 feature_backlinks: y
 style: coelesce.css
 feature_useGroupHome : y
 allowRegister : n
 forgotPass : y
 feature_userPreferences : n
 wiki_edit_plugin: y
{CODE}


!!Personalization

{CODE(caption=>YAML)}
preferences:
 browsertitle: $profilerequest:browsertitle$Test Browser Title$
 sitetitle: $profilerequest:sitetitle$Test Site Title$
 sitesubtitle: $profilerequest:sitesubtitle$Improving collaboration$
 sitelogo_src:  #No logo by default, because it would be Tiki logo
 feature_sitelogo: y # This permits logo, title and subtitle
{CODE}

!Categories
{CODE(caption=>YAML,wrap=>0)}
objects:
 -
  type: category
  ref: Staging_categ
  data:
   name: Staging
   description: For staging page
 -
  type: category
  ref: Approved_categ
  data:
   name: Approved
   description: For approved pages
{CODE}

!Groups & permissions
{CODE(caption=>YAML,wrap=>1)}
permissions:
 Anonymous:
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow: [ view, comment ]
 Authors:
  description: Can edit pages -> put them in a staging status.
  allow: [ edit, wiki_view_history ]
  include: [ Registered ]
  objects:
   -
    type: category
    id: $profileobject:Staging_categ$
    allow: [view_categorized, edit_categorized]
 Approvers:
  description: Can approve a staging page
  allow: [ remove, rename, rollback ]
  include: [ Authors ]
  objects:
   -
    type: category
    id: $profileobject:Approved_categ$
    allow: [ view_categorized, edit_categorized ]
 Admins:
  include: [ Approvers ]
{CODE}