-- phpMyAdmin SQL Dump
-- version 2.11.3deb1ubuntu1.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Dec 05, 2011 at 09:25 AM
-- Server version: 5.0.51
-- PHP Version: 5.2.4-2ubuntu5.18

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `icinga_web`
--

-- --------------------------------------------------------

--
-- Table structure for table `nsm_target`
--

CREATE TABLE IF NOT EXISTS `nsm_target` (
  `target_id` int(11) NOT NULL auto_increment,
  `target_name` varchar(45) NOT NULL,
  `target_description` varchar(100) default NULL,
  `target_class` varchar(80) default NULL,
  `target_type` varchar(45) NOT NULL,
  PRIMARY KEY  (`target_id`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=20 ;

--
-- Dumping data for table `nsm_target`
--

INSERT INTO `nsm_target` (`target_id`, `target_name`, `target_description`, `target_class`, `target_type`) VALUES
(1, 'IcingaHostgroup', 'Limit data access to specific hostgroups', 'IcingaDataHostgroupPrincipalTarget', 'icinga'),
(2, 'IcingaServicegroup', 'Limit data access to specific servicegroups', 'IcingaDataServicegroupPrincipalTarget', 'icinga'),
(3, 'IcingaHostCustomVariablePair', 'Limit data access to specific custom variables', 'IcingaDataHostCustomVariablePrincipalTarget', 'icinga'),
(4, 'IcingaServiceCustomVariablePair', 'Limit data access to specific custom variables', 'IcingaDataServiceCustomVariablePrincipalTarget', 'icinga'),
(5, 'IcingaContactgroup', 'Limit data access to users contact group membership', 'IcingaDataContactgroupPrincipalTarget', 'icinga'),
(6, 'IcingaCommandRo', 'Limit access to commands', 'IcingaDataCommandRoPrincipalTarget', 'icinga'),
(7, 'appkit.access', 'Access to login-page (which, actually, means no access)', '', 'credential'),
(8, 'icinga.user', 'Access to icinga', '', 'credential'),
(9, 'appkit.admin.groups', 'Access to group editor', '', 'credential'),
(10, 'appkit.admin.users', 'Access to user editor', '', 'credential'),
(11, 'appkit.admin', 'Access to admin panel ', '', 'credential'),
(12, 'appkit.user.dummy', 'Basic right for users', '', 'credential'),
(13, 'appkit.api.access', 'Access to web-based api adapter', '', 'credential'),
(14, 'icinga.demoMode', 'Hide features like password reset which are not wanted in demo systems', '', 'credential'),
(15, 'icinga.cronk.category.admin', 'Enables category admin features', '', 'credential'),
(16, 'icinga.cronk.log', 'Allow user to view icinga-log', '', 'credential'),
(17, 'icinga.control.view', 'Allow user to view icinga status', '', 'credential'),
(18, 'icinga.control.admin', 'Allow user to administrate the icinga process', '', 'credential'),
(19, 'IcingaCommandRestrictions', 'Disable critical commands for this user', 'IcingaDataCommandRestrictionPrincipalTarget', 'icinga');
