diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 87f5dd3b55..7272fb149e 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,18 @@ +2012-12-26 Sergio Martin + + * 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 * godmode/agentes/agent_template.php, diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql index fe02bd0804..8603957af2 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql @@ -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 (Read)"; +UPDATE tperfil SET `report_view`= 1, `report_edit`= 1 WHERE id_perfil = 2 AND name = "Operator (Write)"; +UPDATE tperfil SET `report_view`= 1, `report_edit`= 1, `report_management`= 1 WHERE id_perfil = 3 AND name = "Chief 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 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 Administrator"; diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql index 295f904b6b..59d73f5fe9 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql @@ -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 (Read)'; +UPDATE tperfil SET report_view= 1, report_edit= 1 WHERE id_perfil = 2 AND name = 'Operator (Write)'; +UPDATE tperfil SET report_view= 1, report_edit= 1, report_management= 1 WHERE id_perfil = 3 AND name = 'Chief 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 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 Administrator'; diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql index baa2c6be5a..076733b91b 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql @@ -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 (Read)'; +UPDATE tperfil SET "report_view"= 1, "report_edit"= 1 WHERE id_perfil = 2 AND name = 'Operator (Write)'; +UPDATE tperfil SET "report_view"= 1, "report_edit"= 1, "report_management"= 1 WHERE id_perfil = 3 AND name = 'Chief 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 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 Administrator'; diff --git a/pandora_console/godmode/users/configure_profile.php b/pandora_console/godmode/users/configure_profile.php index e5c146cf12..4fd1016c7b 100644 --- a/pandora_console/godmode/users/configure_profile.php +++ b/pandora_console/godmode/users/configure_profile.php @@ -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 '
'; diff --git a/pandora_console/godmode/users/profile_list.php b/pandora_console/godmode/users/profile_list.php index f5f1797d97..2a66c19870 100644 --- a/pandora_console/godmode/users/profile_list.php +++ b/pandora_console/godmode/users/profile_list.php @@ -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] = '' . __('Op.') . ''; +$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] = '' . __('Op.') . ''; $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] = ''. html_print_image('images/config.png', true, array('title' => __('Edit'))) .''; - $data[11] .= '  '. html_print_image("images/cross.png", true) . ''; + $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] = ''. html_print_image('images/config.png', true, array('title' => __('Edit'))) .''; + $data[17] .= '  '. html_print_image("images/cross.png", true) . ''; array_push ($table->data, $data); } diff --git a/pandora_console/pandoradb.data.oracle.sql b/pandora_console/pandoradb.data.oracle.sql index 2b38127b89..8b1fa0371e 100644 --- a/pandora_console/pandoradb.data.oracle.sql +++ b/pandora_console/pandoradb.data.oracle.sql @@ -313,11 +313,11 @@ END;; -- BEGIN LOCK TABLE tperfil IN EXCLUSIVE MODE; -INSERT INTO tperfil VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0); -INSERT INTO tperfil VALUES (2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0); -INSERT INTO tperfil VALUES (3,'Chief Operator',1,1,1,1,0,0,0,0,1,0); -INSERT INTO tperfil VALUES (4,'Group coordinator',1,1,1,1,1,1,1,0,0,0); -INSERT INTO tperfil VALUES (5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1); +INSERT INTO tperfil VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0); +INSERT INTO tperfil VALUES (2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0); +INSERT INTO tperfil VALUES (3,'Chief Operator',1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0); +INSERT INTO tperfil VALUES (4,'Group coordinator',1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0); +INSERT INTO tperfil VALUES (5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1); COMMIT; END;; diff --git a/pandora_console/pandoradb.data.postgreSQL.sql b/pandora_console/pandoradb.data.postgreSQL.sql index 7daa37ad98..62197cd5d6 100644 --- a/pandora_console/pandoradb.data.postgreSQL.sql +++ b/pandora_console/pandoradb.data.postgreSQL.sql @@ -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 (Read)',0,1,0,1,0,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,1,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,0,0),(5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1); +INSERT INTO "tperfil" VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,0),(5,'Pandora 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))); -- diff --git a/pandora_console/pandoradb.oracle.sql b/pandora_console/pandoradb.oracle.sql index cf9c67e20a..ec86c0932c 100644 --- a/pandora_console/pandoradb.oracle.sql +++ b/pandora_console/pandoradb.oracle.sql @@ -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; diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index 44e7b51744..4d2c9e9449 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -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 ); -- --------------------------------------------------------------------- diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 0e2929c440..8dc44cdcba 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -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; diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index 4ab0d840fd..9be7387151 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -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 (Read)',0,1,0,1,0,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,0,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,1,0),(5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1); +INSERT INTO `tperfil` VALUES (1,'Operator (Read)',0,1,0,1,0,0,0,0,0,0,1,0,0,0,0,0),(2,'Operator (Write)',1,1,0,1,0,0,0,0,0,0,1,1,0,0,0,0),(3,'Chief Operator',1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0),(4,'Group coordinator',1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0),(5,'Pandora Administrator',1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1); -- -- Dumping data for table `tnews`