<?php
if (!defined('BB_ROOT')) die(basename(__FILE__));
$bb_cfg_adm = array();
$bb_cfg_adm['admins'] = '2';
$bb_cfg_adm['cat_del'] = '/news/admin/';
$bb_cfg_adm['not_view'] = '2'; //у каких пользователей нельзя менять Доступ к категориям. id юзера через запятую
/* запрет к категориям по user_dost */
$bb_cfg_adm['dost'] = array(
'index' => 1,
'admin_attach_cp' => 1,
'admin_attachments' => 2,
'admin_board' => 3,
'admin_bt_forum_cfg' => 4,
'admin_bt_tracker_cfg' => 5,
'admin_cron' => 6,
'admin_disallow' => 7,
'admin_dostup' => 8,
'admin_dostup_conf' => 9,
'admin_extensions' => 10,
'admin_forum_prune' => 11,
'admin_forumauth' => 12,
'admin_forumauth_list' => 13,
'admin_forums' => 14,
'admin_groups' => 15,
'admin_phpinfo' => 16,
'admin_ranks' => 17,
'admin_mass_email' => 18,
'admin_log' => 19,
'admin_rebuild_search' => 10,
'admin_rutracker' => 21,
'admin_sitemap' => 22,
'admin_smilies' => 23,
'admin_terms' => 24,
'admin_ug_auth' => 25,
'admin_user_ban' => 26,
'admin_user_search' => 27,
'admin_words' => 28,
'admin_ads' => 29,
'admin_countactus' => 30,
);
/* запрет к категориям по id юзера */
$bb_cfg_adm['dost_user']['2'] = array(
'index' => 1,
'admin_attach_cp' => 1,
'admin_attachments' => 1,
'admin_board' => 1,
'admin_bt_forum_cfg' => 1,
'admin_bt_tracker_cfg' => 1,
'admin_cron' => 1,
'admin_disallow' => 1,
'admin_dostup' => 1,
'admin_dostup_conf' => 1,
'admin_extensions' => 1,
'admin_forum_prune' => 1,
'admin_forumauth' => 1,
'admin_forumauth_list' => 1,
'admin_forums' => 1,
'admin_groups' => 1,
'admin_phpinfo' => 1,
'admin_ranks' => 1,
'admin_mass_email' => 1,
'admin_log' => 1,
'admin_rebuild_search' => 1,
'admin_rutracker' => 1,
'admin_sitemap' => 1,
'admin_smilies' => 1,
'admin_terms' => 1,
'admin_ug_auth' => 1,
'admin_user_ban' => 1,
'admin_user_search' => 1,
'admin_words' => 1,
'admin_ads' => 1,
'admin_countactus' => 1,
);
?>