Changed structure of tag_association table
[fa-stable.git] / includes / access_levels.inc
index 17a2a7d54f733cea9797a013f0d8b816cdb92a23..b35890bd7df3e1ffcea909e773036d680309a5f5 100644 (file)
@@ -64,6 +64,7 @@ $security_sections = array(
  SS_MANUF_C => _("Manufacturing configuration"),
  SS_MANUF => _("Manufacturing transations"),
  SS_MANUF_A => _("Manufacturing analytics"),
+ SS_DIM_C => _("Dimensions configuration"),
  SS_DIM => _("Dimensions"),
  SS_GL_C => _("Banking & GL configuration"),
  SS_GL => _("Banking & GL transactions"),
@@ -238,7 +239,13 @@ $security_areas =array(
        'SA_BANKREP' => array(SS_GL_A|3, _("Bank reports and inquiries")),
        'SA_GLREP' => array(SS_GL_A|4, _("GL reports and inquiries")),
 );
-
+/*
+       This function should be called whenever we want to extend core access level system
+       with new security areas and/or sections i.e.: 
+       . on any page with non-standard security areas
+       . in security roles editor
+       The call should be placed between session.inc inclusion and page() call.
+*/
 function add_access_extensions()
 {
        global $path_to_root, $security_areas, $security_sections, $installed_extensions;