CREATE TABLE IF NOT EXISTS `all_accesses` (
  `type` varchar(32) NOT NULL,
  `name` varchar(64) NOT NULL,
  KEY `type` (`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

INSERT INTO `all_accesses` (`type`, `name`) VALUES
('adm_panel_show', 'Admin - access to the admin section'),
('loads_file_upload', 'Downloads - Upload files'),
('loads_dir_mesto', 'Downloads - Moving folders'),
('loads_dir_delete', 'Downloads - Deleting folders'),
('loads_dir_rename', 'Downloads - Rename folders'),
('loads_dir_create', 'Downloads - Create folders'),
('loads_file_edit', 'Downloads - Edit files'),
('loads_file_delete', 'Downloads - Delete files'),
('lib_stat_zip', 'Library - Uploading articles in ZIP'),
('lib_stat_txt', 'Library - Uploading articles in TXT'),
('lib_stat_create', 'Library - Creating articles'),
('lib_dir_delete', 'Library - Deleting folders'),
('lib_dir_mesto', 'Library - Moving folders'),
('lib_dir_edit', 'Library - Edit folders'),
('lib_dir_create', 'Library - Create folder'),
('lib_stat_delete', 'Library - Delete articles'),
('votes_settings', 'Polls - Closing/Remove'),
('votes_create', 'Polls - Creating'),
('guest_clear', 'Guestbook - Clean'),
('guest_delete', 'Guestbook - Delete posts'),
('obmen_dir_delete', 'Exchange - Delete folder'),
('obmen_dir_edit', 'Exchange - Edit folder'),
('obmen_dir_create', 'Exchange - Create folder'),
('obmen_file_delete', 'Exchange - Delete files'),
('obmen_komm_del', 'Exchange - Delete comments'),
('foto_foto_edit', 'Photo Gallery - Edit/delete photos'),
('foto_alb_del', 'Photo Gallery - Delete albums'),
('forum_razd_create', 'Forum - Partitioning'),
('forum_for_delete', 'Forum - Remove Subforum'),
('forum_for_edit', 'Forum - Editing Subforum'),
('forum_for_create', 'Forum - Create Subforum'),
('forum_razd_edit', 'Forum - Management sections'),
('adm_info', 'Admin - General Information'),
('adm_license_support', 'License - support'),
('forum_them_edit', 'Forum - Edit topic'),
('forum_them_del', 'Forum - Delete topic'),
('forum_post_ed', 'Forum - Editing posts'),
('chat_clear', 'Chat - Clean'),
('chat_room', 'Chat - Control rooms'),
('adm_statistic', 'Admin - Statistics'),
('adm_banlist', 'Admin - List of banned'),
('adm_menu', 'Admin - Main Menu'),
('adm_news', 'Admin - News'),
('adm_rekl', 'Admin - Advertising'),
('adm_set_sys', 'Admin - System Configuration'),
('adm_set_loads', 'Admin - Configuration Download Center'),
('adm_set_user', 'Admin - Custom settings'),
('adm_set_chat', 'Admin - Chat Configuration'),
('adm_set_forum', 'Admin - Forum Settings'),
('adm_set_foto', 'Admin - Galleries Settings'),
('adm_forum_sinc', 'Admin - Tables forum sync'),
('adm_themes', 'Admin - Themes Settings'),
('adm_mysql', 'Admin - MySQL queries!!!'),
('adm_ref', 'Admin - Referrals'),
('adm_show_adm', 'Admin - List of Administrator'),
('adm_ip_edit', 'Admin - Edit IP'),
('adm_ban_ip', 'Admin - Ban by IP'),
('adm_accesses', 'Privileges users groups!!!'),
('user_delete', 'Users - Delete'),
('user_mass_delete', 'Users - Mass delete'),
('user_ban_set', 'Users - Ban'),
('user_ban_unset', 'Users - Unset Ban'),
('user_prof_edit', 'Users - Edit profile'),
('user_collisions', 'Users - Collisions'),
('user_show_ip', 'Users - Show IP'),
('user_show_ua', 'Users - Showing USER-AGENT'),
('user_show_add_info', 'Show extra information'),
('guest_show_ip', 'Guest - Show IP'),
('user_change_group', 'Users - Changing group privileges'),
('user_ban_set_h', 'Users - ban (max 1 day)'),
('forum_post_close', 'Forum - Close forum'),
('user_change_nick', 'Users - Changing nickname'),
('loads_file_import', 'Download - Import file'),
('lic_themes', 'License - with the dcms.su theme'),
('lic_update', 'Update engine'),
('lic_info', 'License Information'),
('adm_lib_repair', 'Restore the library');
