Skip to content

Commit

Permalink
fix(sys_table): change role type to 'plan_psector%' tables, now is ro…
Browse files Browse the repository at this point in the history
…le_edit
  • Loading branch information
danimarinBG committed Aug 8, 2024
1 parent 8b9a83b commit 78e91c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions updates/36/36012/ud/dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ UPDATE cat_arc SET visitability_vdef=1 WHERE visitability_vdef = 0; -- NO VISITA
UPDATE config_form_fields SET "datatype" = 'integer', widgettype = 'combo', iseditable = true,
hidden = false, dv_querytext = 'SELECT id, idval FROM edit_typevalue WHERE typevalue=''cat_arc_visibility_vdef'''
WHERE columnname = 'visitability' AND "datatype" = 'boolean';

UPDATE sys_table SET sys_role='role_edit' WHERE id='plan_psector_x_gully';
6 changes: 6 additions & 0 deletions updates/36/36012/utils/dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,9 @@ UPDATE sys_table SET sys_role = 'role_system' WHERE id = 'sys_typevalue';
UPDATE sys_table SET sys_role = 'role_system' WHERE id = 'sys_version';

DELETE FROM sys_function WHERE function_name = 'gw_fct_admin_manage_roles';

UPDATE sys_table SET sys_role='role_edit' WHERE id='plan_psector';
UPDATE sys_table SET sys_role='role_edit' WHERE id='plan_psector_x_arc';
UPDATE sys_table SET sys_role='role_edit' WHERE id='plan_psector_x_node';
UPDATE sys_table SET sys_role='role_edit' WHERE id='plan_psector_x_other';
UPDATE sys_table SET sys_role='role_edit' WHERE id='plan_psector_x_connec';

0 comments on commit 78e91c8

Please sign in to comment.