2012-12-26 Sergio Martin <sergio.martin@artica.es>

* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/users/profile_list.php
	godmode/users/configure_profile.php: Added to the
	database and editor new reporting and events ACL flags



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2012-12-26 12:16:39 +00:00
parent d4196780e3
commit 4e47872140
12 changed files with 171 additions and 53 deletions

View File

@ -1,3 +1,18 @@
2012-12-26 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
godmode/users/profile_list.php
godmode/users/configure_profile.php: Added to the
database and editor new reporting and events ACL flags
2012-12-21 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/agent_template.php,

View File

@ -407,4 +407,18 @@ CREATE TABLE IF NOT EXISTS `tcategory` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ---------------------------------------------------------------------
-- Table `tperfil`
-- ---------------------------------------------------------------------
ALTER TABLE `tperfil` ADD COLUMN `report_view` tinyint(3) NOT NULL default '0';
ALTER TABLE `tperfil` ADD COLUMN `report_edit` tinyint(3) NOT NULL default '0';
ALTER TABLE `tperfil` ADD COLUMN `report_management` tinyint(3) NOT NULL default '0';
ALTER TABLE `tperfil` ADD COLUMN `event_view` tinyint(3) NOT NULL default '0';
ALTER TABLE `tperfil` ADD COLUMN `event_edit` tinyint(3) NOT NULL default '0';
ALTER TABLE `tperfil` ADD COLUMN `event_management` tinyint(3) NOT NULL default '0';
UPDATE tperfil SET `report_view`= 1 WHERE id_perfil = 1 AND name = "Operator&#x20;&#40;Read&#41;";
UPDATE tperfil SET `report_view`= 1, `report_edit`= 1 WHERE id_perfil = 2 AND name = "Operator&#x20;&#40;Write&#41;";
UPDATE tperfil SET `report_view`= 1, `report_edit`= 1, `report_management`= 1 WHERE id_perfil = 3 AND name = "Chief&#x20;Operator";
UPDATE tperfil SET `report_view`= 1, `report_edit`= 1, `report_management`= 1, `event_view`= 1, `event_edit`= 1 WHERE id_perfil = 4 AND name = "Group&#x20;coordinator";
UPDATE tperfil SET `report_view`= 1, `report_edit`= 1, `report_management`= 1, `event_view`= 1, `event_edit`= 1, `event_management`= 1 WHERE id_perfil = 5 AND name = "Pandora&#x20;Administrator";

View File

@ -436,3 +436,19 @@ CREATE TABLE tcategory (
id NUMBER(10, 0) NOT NULL PRIMARY KEY,
name VARCHAR2(600) default '' NOT NULL
);
-- ----------------------------------------------------------------------
-- Table tperfil
-- ----------------------------------------------------------------------
ALTER TABLE tperfil ADD (report_view NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tperfil ADD (report_edit NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tperfil ADD (report_management NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tperfil ADD (event_view NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tperfil ADD (event_edit NUMBER(5, 0) default 0 NOT NULL);
ALTER TABLE tperfil ADD (event_management NUMBER(5, 0) default 0 NOT NULL);
UPDATE tperfil SET report_view= 1 WHERE id_perfil = 1 AND name = 'Operator&#x20;&#40;Read&#41;';
UPDATE tperfil SET report_view= 1, report_edit= 1 WHERE id_perfil = 2 AND name = 'Operator&#x20;&#40;Write&#41;';
UPDATE tperfil SET report_view= 1, report_edit= 1, report_management= 1 WHERE id_perfil = 3 AND name = 'Chief&#x20;Operator';
UPDATE tperfil SET report_view= 1, report_edit= 1, report_management= 1, event_view= 1, event_edit= 1 WHERE id_perfil = 4 AND name = 'Group&#x20;coordinator';
UPDATE tperfil SET report_view= 1, report_edit= 1, report_management= 1, event_view= 1, event_edit= 1, event_management= 1 WHERE id_perfil = 5 AND name = 'Pandora&#x20;Administrator';

View File

@ -427,3 +427,19 @@ CREATE TABLE IF NOT EXISTS "tcategory" (
"id" SERIAL NOT NULL PRIMARY KEY,
"name" varchar(600) NOT NULL default '',
);
-- ----------------------------------------------------------------------
-- Table "tperfil"
-- ----------------------------------------------------------------------
ALTER TABLE "tperfil" ADD COLUMN "report_view" SMALLINT NOT NULL default 0;
ALTER TABLE "tperfil" ADD COLUMN "report_edit" SMALLINT NOT NULL default 0;
ALTER TABLE "tperfil" ADD COLUMN "report_management" SMALLINT NOT NULL default 0;
ALTER TABLE "tperfil" ADD COLUMN "event_view" SMALLINT NOT NULL default 0;
ALTER TABLE "tperfil" ADD COLUMN "event_edit" SMALLINT NOT NULL default 0;
ALTER TABLE "tperfil" ADD COLUMN "event_management" SMALLINT NOT NULL default 0;
UPDATE tperfil SET "report_view"= 1 WHERE id_perfil = 1 AND name = 'Operator&#x20;&#40;Read&#41;';
UPDATE tperfil SET "report_view"= 1, "report_edit"= 1 WHERE id_perfil = 2 AND name = 'Operator&#x20;&#40;Write&#41;';
UPDATE tperfil SET "report_view"= 1, "report_edit"= 1, "report_management"= 1 WHERE id_perfil = 3 AND name = 'Chief&#x20;Operator';
UPDATE tperfil SET "report_view"= 1, "report_edit"= 1, "report_management"= 1, "event_view"= 1, "event_edit"= 1 WHERE id_perfil = 4 AND name = 'Group&#x20;coordinator';
UPDATE tperfil SET "report_view"= 1, "report_edit"= 1, "report_management"= 1, "event_view"= 1, "event_edit"= 1, "event_management"= 1 WHERE id_perfil = 5 AND name = 'Pandora&#x20;Administrator';

View File

@ -72,6 +72,12 @@ if ($id_profile || $new_profile) {
$db_management = 0;
$alert_management = 0;
$pandora_management = 0;
$report_view = 0;
$report_edit = 0;
$report_management = 0;
$event_view = 0;
$event_edit = 0;
$event_management = 0;
$page_title = __('Create profile');
}
@ -102,6 +108,12 @@ if ($id_profile || $new_profile) {
$db_management = (bool) $profile["db_management"];
$alert_management = (bool) $profile["alert_management"];
$pandora_management = (bool) $profile["pandora_management"];
$report_view = (bool) $profile["report_view"];
$report_edit = (bool) $profile["report_edit"];
$report_management = (bool) $profile["report_management"];
$event_view = (bool) $profile["event_view"];
$event_edit = (bool) $profile["event_edit"];
$event_management = (bool) $profile["event_management"];
$id_audit = db_pandora_audit("User management",
"Edit profile ". $name);
@ -111,6 +123,9 @@ if ($id_profile || $new_profile) {
' Agent view: ' . $agent_view . ' Agent edit: ' . $agent_edit .
' Alert edit: ' . $alert_edit . ' User management: ' . $user_management .
' DB management: ' . $db_management . ' Alert management: ' . $alert_management .
' Report view: ' . $report_view . ' Report edit: ' . $report_edit .
' Report management: ' . $report_management . ' Event view: ' . $event_view .
' Event edit: ' . $event_edit . ' Event management: ' . $event_management .
' Pandora Management: ' . $pandora_management;
enterprise_hook('audit_pandora_enterprise', array($id_audit, $info));
@ -145,8 +160,20 @@ if ($id_profile || $new_profile) {
$table->data[8][1] = html_print_checkbox ('db_management', 1, $db_management, true);
$table->data[9][0] = __('Manage alerts');
$table->data[9][1] = html_print_checkbox ('alert_management', 1, $alert_management, true);
$table->data[10][0] = __('Pandora management');
$table->data[10][1] = html_print_checkbox ('pandora_management', 1, $pandora_management, true);
$table->data[10][0] = __('View reports');
$table->data[10][1] = html_print_checkbox ('report_view', 1, $report_view, true);
$table->data[11][0] = __('Edit reports');
$table->data[11][1] = html_print_checkbox ('report_edit', 1, $report_edit, true);
$table->data[12][0] = __('Manage reports');
$table->data[12][1] = html_print_checkbox ('report_management', 1, $report_management, true);
$table->data[13][0] = __('View events');
$table->data[13][1] = html_print_checkbox ('event_view', 1, $event_view, true);
$table->data[14][0] = __('Edit events');
$table->data[14][1] = html_print_checkbox ('event_edit', 1, $event_edit, true);
$table->data[15][0] = __('Manage events');
$table->data[15][1] = html_print_checkbox ('event_management', 1, $event_management, true);
$table->data[16][0] = __('Pandora management');
$table->data[16][1] = html_print_checkbox ('pandora_management', 1, $pandora_management, true);
echo '<form method="post" action="index.php?sec='.$sec.'&sec2=godmode/users/profile_list&pure='.$pure.'">';

View File

@ -84,8 +84,8 @@ if ($delete_profile) {
$id_profile = 0;
}
// Update profile
if ($update_profile) {
// Store the variables when create or update
if($create_profile || $update_profile) {
$name = get_parameter ("name");
$incident_view = (bool) get_parameter ("incident_view");
$incident_edit = (bool) get_parameter ("incident_edit");
@ -97,24 +97,46 @@ if ($update_profile) {
$db_management = (bool) get_parameter ("db_management");
$alert_management = (bool) get_parameter ("alert_management");
$pandora_management = (bool) get_parameter ("pandora_management");
$report_view = (bool) get_parameter ("report_view");
$report_edit = (bool) get_parameter ("report_edit");
$report_management = (bool) get_parameter ("report_management");
$event_view = (bool) get_parameter ("event_view");
$event_edit = (bool) get_parameter ("event_edit");
$event_management = (bool) get_parameter ("event_management");
$values = array(
'name' => $name,
'incident_view' => $incident_view,
'incident_edit' => $incident_edit,
'incident_management' => $incident_management,
'agent_view' => $agent_view,
'agent_edit' => $agent_edit,
'alert_edit' => $alert_edit,
'user_management' => $user_management,
'db_management' => $db_management,
'alert_management' => $alert_management,
'pandora_management' => $pandora_management,
'report_view' => $report_view,
'report_edit' => $report_edit,
'report_management' => $report_management,
'event_view' => $event_view,
'event_edit' => $event_edit,
'event_management' => $event_management);
}
// Update profile
if ($update_profile) {
if ($name) {
$sql = sprintf ('UPDATE tperfil SET
name = "%s", incident_view = %d, incident_edit = %d,
incident_management = %d, agent_view = %d, agent_edit = %d,
alert_edit = %d, user_management = %d, db_management = %d,
alert_management = %d, pandora_management = %d WHERE id_perfil = %d',
$name, $incident_view, $incident_edit, $incident_management,
$agent_view, $agent_edit, $alert_edit, $user_management,
$db_management, $alert_management, $pandora_management,
$id_profile);
$ret = db_process_sql ($sql);
$ret = db_process_sql_update('tperfil', $values, array('id_perfil' => $id_profile));
if ($ret !== false) {
$info = 'Name: ' . $name . ' Incident view: ' . $incident_view .
' Incident edit: ' . $incident_edit . ' Incident management: ' . $incident_management .
' Agent view: ' . $agent_view . ' Agent edit: ' . $agent_edit .
' Alert edit: ' . $alert_edit . ' User management: ' . $user_management .
' DB management: ' . $db_management . ' Alert management: ' . $alert_management .
' Report view: ' . $report_view . ' Report edit: ' . $report_edit .
' Report management: ' . $report_management . ' Event view: ' . $event_view .
' Event edit: ' . $event_edit . ' Event management: ' . $event_management .
' Pandora Management: ' . $pandora_management;
db_pandora_audit("User management",
"Update profile ". $name, false, false, $info);
@ -133,31 +155,6 @@ if ($update_profile) {
// Create profile
if ($create_profile) {
$name = get_parameter ("name");
$incident_view = (bool) get_parameter ("incident_view");
$incident_edit = (bool) get_parameter ("incident_edit");
$incident_management = (bool) get_parameter ("incident_management");
$agent_view = (bool) get_parameter ("agent_view");
$agent_edit = (bool) get_parameter ("agent_edit");
$alert_edit = (bool) get_parameter ("alert_edit");
$user_management = (bool) get_parameter ("user_management");
$db_management = (bool) get_parameter ("db_management");
$alert_management = (bool) get_parameter ("alert_management");
$pandora_management = (bool) get_parameter ("pandora_management");
$values = array(
'name' => $name,
'incident_view' => $incident_view,
'incident_edit' => $incident_edit,
'incident_management' => $incident_management,
'agent_view' => $agent_view,
'agent_edit' => $agent_edit,
'alert_edit' => $alert_edit,
'user_management' => $user_management,
'db_management' => $db_management,
'alert_management' => $alert_management,
'pandora_management' => $pandora_management);
if ($name) {
$ret = db_process_sql_insert('tperfil', $values);
@ -169,6 +166,9 @@ if ($create_profile) {
' Agent view: ' . $agent_view . ' Agent edit: ' . $agent_edit .
' Alert edit: ' . $alert_edit . ' User management: ' . $user_management .
' DB management: ' . $db_management . ' Alert management: ' . $alert_management .
' Report view: ' . $report_view . ' Report edit: ' . $report_edit .
' Report management: ' . $report_management . ' Event view: ' . $event_view .
' Event edit: ' . $event_edit . ' Event management: ' . $event_management .
' Pandora Management: ' . $pandora_management;
db_pandora_audit("User management",
"Created profile ". $name, false, false, $info);
@ -204,8 +204,14 @@ $table->head[6] = "LW" . ui_print_help_tip (__('Alerts editing'), true);
$table->head[7] = "UM" . ui_print_help_tip (__('Users management'), true);
$table->head[8] = "DM" . ui_print_help_tip (__('Database management'), true);
$table->head[9] = "LM" . ui_print_help_tip (__('Alerts management'), true);
$table->head[10] = "PM" . ui_print_help_tip (__('Systems management'), true);
$table->head[11] = '<span title="Operations">' . __('Op.') . '</span>';
$table->head[10] = "RR" . ui_print_help_tip (__('Reports reading'), true);
$table->head[11] = "RW" . ui_print_help_tip (__('Reports writing'), true);
$table->head[12] = "RM" . ui_print_help_tip (__('Reports management'), true);
$table->head[13] = "ER" . ui_print_help_tip (__('Events reading'), true);
$table->head[14] = "EW" . ui_print_help_tip (__('Events writing'), true);
$table->head[15] = "EM" . ui_print_help_tip (__('Events management'), true);
$table->head[16] = "PM" . ui_print_help_tip (__('Systems management'), true);
$table->head[17] = '<span title="Operations">' . __('Op.') . '</span>';
$table->align = array_fill (1, 11, "center");
$table->size = array_fill (1, 10, 40);
@ -228,9 +234,15 @@ foreach ($profiles as $profile) {
$data[7] = ($profile["user_management"] ? $img : '');
$data[8] = ($profile["db_management"] ? $img : '');
$data[9] = ($profile["alert_management"] ? $img : '');
$data[10] = ($profile["pandora_management"] ? $img : '');
$data[11] = '<a href="index.php?sec='.$sec.'&amp;sec2=godmode/users/configure_profile&id='.$profile["id_perfil"].'&pure='.$pure.'"><b>'. html_print_image('images/config.png', true, array('title' => __('Edit'))) .'</b></a>';
$data[11] .= '&nbsp;&nbsp;<a href="index.php?sec='.$sec.'&sec2=godmode/users/profile_list&delete_profile=1&id='.$profile["id_perfil"].'&pure='.$pure.'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">'. html_print_image("images/cross.png", true) . '</a>';
$data[10] = ($profile["report_view"] ? $img : '');
$data[11] = ($profile["report_edit"] ? $img : '');
$data[12] = ($profile["report_management"] ? $img : '');
$data[13] = ($profile["event_view"] ? $img : '');
$data[14] = ($profile["event_edit"] ? $img : '');
$data[15] = ($profile["event_management"] ? $img : '');
$data[16] = ($profile["pandora_management"] ? $img : '');
$data[17] = '<a href="index.php?sec='.$sec.'&amp;sec2=godmode/users/configure_profile&id='.$profile["id_perfil"].'&pure='.$pure.'"><b>'. html_print_image('images/config.png', true, array('title' => __('Edit'))) .'</b></a>';
$data[17] .= '&nbsp;&nbsp;<a href="index.php?sec='.$sec.'&sec2=godmode/users/profile_list&delete_profile=1&id='.$profile["id_perfil"].'&pure='.$pure.'" onClick="if (!confirm(\' '.__('Are you sure?').'\')) return false;">'. html_print_image("images/cross.png", true) . '</a>';
array_push ($table->data, $data);
}

View File

@ -313,11 +313,11 @@ END;;
--
BEGIN
LOCK TABLE tperfil IN EXCLUSIVE MODE;
INSERT INTO tperfil VALUES (1,'Operator&#x20;&#40;Read&#41;',0,1,0,1,0,0,0,0,0,0);
INSERT INTO tperfil VALUES (2,'Operator&#x20;&#40;Write&#41;',1,1,0,1,0,0,0,0,0,0);
INSERT INTO tperfil VALUES (3,'Chief&#x20;Operator',1,1,1,1,0,0,0,0,1,0);
INSERT INTO tperfil VALUES (4,'Group&#x20;coordinator',1,1,1,1,1,1,1,0,0,0);
INSERT INTO tperfil VALUES (5,'Pandora&#x20;Administrator',1,1,1,1,1,1,1,1,1,1);
INSERT INTO tperfil VALUES (1,'Operator&#x20;&#40;Read&#41;',0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0);
INSERT INTO tperfil VALUES (2,'Operator&#x20;&#40;Write&#41;',1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0);
INSERT INTO tperfil VALUES (3,'Chief&#x20;Operator',1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0);
INSERT INTO tperfil VALUES (4,'Group&#x20;coordinator',1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0);
INSERT INTO tperfil VALUES (5,'Pandora&#x20;Administrator',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
COMMIT;
END;;

View File

@ -284,7 +284,7 @@ SELECT setval('tusuario_perfil_id_up_seq', (SELECT (SELECT MAX(id_up) FROM tusua
--
-- Dumping data for table "tperfil"
--
INSERT INTO "tperfil" VALUES (1,'Operator&#x20;&#40;Read&#41;',0,1,0,1,0,0,0,0,0,0),(2,'Operator&#x20;&#40;Write&#41;',1,1,0,1,0,0,0,0,0,0),(3,'Chief&#x20;Operator',1,1,1,1,0,0,0,0,1,0),(4,'Group&#x20;coordinator',1,1,1,1,1,1,1,0,0,0),(5,'Pandora&#x20;Administrator',1,1,1,1,1,1,1,1,1,1);
INSERT INTO "tperfil" VALUES (1,'Operator&#x20;&#40;Read&#41;',0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0),(2,'Operator&#x20;&#40;Write&#41;',1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0),(3,'Chief&#x20;Operator',1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0),(4,'Group&#x20;coordinator',1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0),(5,'Pandora&#x20;Administrator',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
SELECT setval('tperfil_id_perfil_seq', (SELECT (SELECT MAX(id_perfil) FROM tperfil)));
--

View File

@ -812,7 +812,13 @@ CREATE TABLE tperfil (
user_management NUMBER(5, 0) default 0 NOT NULL,
db_management NUMBER(5, 0) default 0 NOT NULL,
alert_management NUMBER(5, 0) default 0 NOT NULL,
pandora_management NUMBER(5, 0) default 0 NOT NULL
pandora_management NUMBER(5, 0) default 0 NOT NULL,
report_view NUMBER(5, 0) default 0 NOT NULL,
report_edit NUMBER(5, 0) default 0 NOT NULL,
report_management NUMBER(5, 0) default 0 NOT NULL,
event_view NUMBER(5, 0) default 0 NOT NULL,
event_edit NUMBER(5, 0) default 0 NOT NULL,
event_management NUMBER(5, 0) default 0 NOT NULL
);
CREATE SEQUENCE tperfil_s INCREMENT BY 1 START WITH 1;

View File

@ -694,7 +694,13 @@ CREATE TABLE "tperfil" (
"user_management" SMALLINT NOT NULL default 0,
"db_management" SMALLINT NOT NULL default 0,
"alert_management" SMALLINT NOT NULL default 0,
"pandora_management" SMALLINT NOT NULL default 0
"pandora_management" SMALLINT NOT NULL default 0,
"report_view" SMALLINT NOT NULL default 0,
"report_edit" SMALLINT NOT NULL default 0,
"report_management" SMALLINT NOT NULL default 0,
"event_view" SMALLINT NOT NULL default 0,
"event_edit" SMALLINT NOT NULL default 0,
"event_management" SMALLINT NOT NULL default 0
);
-- ---------------------------------------------------------------------

View File

@ -776,6 +776,12 @@ CREATE TABLE IF NOT EXISTS `tperfil` (
`db_management` tinyint(3) NOT NULL default '0',
`alert_management` tinyint(3) NOT NULL default '0',
`pandora_management` tinyint(3) NOT NULL default '0',
`report_view` tinyint(3) NOT NULL default '0',
`report_edit` tinyint(3) NOT NULL default '0',
`report_management` tinyint(3) NOT NULL default '0',
`event_view` tinyint(3) NOT NULL default '0',
`event_edit` tinyint(3) NOT NULL default '0',
`event_management` tinyint(3) NOT NULL default '0',
PRIMARY KEY (`id_perfil`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View File

@ -287,7 +287,7 @@ INSERT INTO `tusuario_perfil` VALUES (1,'admin',5,0,'admin',0);
-- Dumping data for table `tperfil`
--
INSERT INTO `tperfil` VALUES (1,'Operator&#x20;&#40;Read&#41;',0,1,0,1,0,0,0,0,0,0),(2,'Operator&#x20;&#40;Write&#41;',1,1,0,1,0,0,0,0,0,0),(3,'Chief&#x20;Operator',1,1,1,1,0,0,0,0,0,0),(4,'Group&#x20;coordinator',1,1,1,1,1,1,1,0,1,0),(5,'Pandora&#x20;Administrator',1,1,1,1,1,1,1,1,1,1);
INSERT INTO `tperfil` VALUES (1,'Operator&#x20;&#40;Read&#41;',0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0),(2,'Operator&#x20;&#40;Write&#41;',1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0),(3,'Chief&#x20;Operator',1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0),(4,'Group&#x20;coordinator',1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0),(5,'Pandora&#x20;Administrator',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
--
-- Dumping data for table `tnews`