Update status board classes to use new DatabaseObject base

Updated schema to include new views
This commit is contained in:
2011-12-19 12:21:39 +00:00
parent 6b53bf11bd
commit 8e55d57b55
6 changed files with 229 additions and 406 deletions

View File

@@ -26,3 +26,44 @@ INSERT INTO `service` (`id`, `name`, `description`) VALUES
(4, 'DNS', 'Hosted DNS services'),
(5, 'LDAP', 'Hosted directory services');
--
-- Dumping data for table `user`
--
INSERT INTO `user` (`id`, `username`, `password`, `fullname`, `email`, `last_login`, `last_password_change`) VALUES
(2, 'guest', '5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 'Guest', NULL, NULL, 1324211553);
--
-- Dumping data for table `group`
--
INSERT INTO `group` (`id`, `name`, `description`) VALUES
(2, 'readonly', 'Basic group with read only access to the status boards.');
--
-- Dumping data for table `usergroup`
--
INSERT INTO `usergroup` (`id`, `user`, `group`, `added`) VALUES
(1, 1, 1, 1324211572),
(2, 2, 2, 1324211572);
--
-- Dumping data for table `permission`
--
INSERT INTO `permission` (`id`, `name`, `description`) VALUES
(2, 'Update Status Boards', 'Permission to add/edit/delete any service or site.');
(3, 'Update Incidents', 'Permission to create and update the status of any incident.'),
(4, 'View Status Boards', 'Permission to view the status of all services and sites, and details of any incident.'),
--
-- Dumping data for table `grouppermissions`
--
INSERT INTO `grouppermissions` (`id`, `group`, `permission`, `added`) VALUES
(2, 1, 2, 1324211935),
(3, 1, 3, 1324211935),
(4, 1, 4, 1324211935),
(5, 2, 4, 1324211935);