<?php

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