<?php

// This array must always start on index 1.
$permissions = array(
// index=> array(permission, dependency, customer_allowed, description)
    1   => array('knowledgebase_view',                             0, true,   /*T*/'View the knowledgebase'/*/T*/),
    2   => array('knowledgebase_viewArticle',                      1, true,   /*T*/'View an article'/*/T*/),
    3   => array('knowledgebase_viewCategory',                     1, true,   /*T*/'View a category'/*/T*/),    
    4   => array('knowledgebase_manageArticles',                   1, false,  /*T*/'Allow to manage the articles'/*/T*/),
    5   => array('knowledgebase_add_article',                      1, true,   /*T*/'Add an article to the knowledgebase'/*/T*/),    
    6   => array('knowledgebase_setStatus',                        1, false,  /*T*/'Set an article\'s status'/*/T*/),    
    7   => array('knowledgebase_manageCategories',                 1, false,  /*T*/'Allow to manage the categories'/*/T*/),
    8   => array('knowledgebase_add_category',                     7, false,  /*T*/'Add a category to the knowledgebase'/*/T*/),    
    9   => array('knowledgebase_manageComments',                   1, false,  /*T*/'Allow to manage the comments'/*/T*/),    
);
?>