Loading...
 
Skip to main content

History: Learning_Center_Department_new_channel_template_include

Source of version: 3 (current)

Copy to clipboard
            This is a template for ((Learning_Center)).


{CODE(caption=>YAML,wrap=1)}
mappings:
 Member: $profilerequest:department_name$Unnamed Learning$'s Member
 Lead: $profilerequest:department_name$Unnamed Learning$'s Lead
 Observer: $profilerequest:department_name$Unnamed Learning$'s Observer
permissions:
 Member:
  autojoin: y
  objects:
   -
    type: category
    id: $department_root
    allow:
     - view
     - edit
     - view_category
     - add_object
     - modify_object_categories
   -
    type: perspective
    id: $perspective
    allow: [ perspective_view ]
   -
    type: group
    id: Member
    allow:
     - group_view
     - group_view_members
   -
    type: group
    id: Observer
    allow:
     - group_view
     - group_view_members
   -
    type: group
    id: Lead
    allow:
     - group_view
     - group_view_members
 Observer:
  objects:
   -
    type: category
    id: $department_root
    allow:
     - view
     - view_category
   -
    type: perspective
    id: $perspective
    allow: [ perspective_view ]
 Lead:
  autojoin: y
  objects:
   -
    type: category
    id: $department_root
    allow:
     - rollback
     - remove_object
   -
    type: group
    id: Member
    allow:
     - group_add_member
     - group_remove_member
   -
    type: group
    id: Observer
    allow:
     - group_add_member
     - group_remove_member
   -
    type: group
    id: Lead
    allow:
     - group_add_member
     - group_remove_member
objects:
 -
  type: category
  ref: department_root
  data:
   name: $profilerequest:department_name$Unnamed department$
   parent: $profilerequest:base_category$0$
   items:
    - [ wiki page, $dashboard ]
 -
  type: perspective
  ref: perspective
  data:
   name: $profilerequest:department_name$Unnamed department$
   preferences:
    category_jail: $department_root
    wikiHomePage: $dashboard
 -
  type: wiki_page
  ref: dashboard
  data:
   name: $profilerequest:department_name$Unnamed department$ Department Dashboard
   content: "{memberlist groups=$profilerequest:department_name$Unnamed Department$'s Member:$profilerequest:department_name$Unnamed Department$'s Lead:$profilerequest:department_name$Unnamed Department$'s Observer}"
{CODE}