Commit df57a029a07f153a2964ccf168b4164b91443cce
1 parent
21e2b9a5
Exists in
master
and in
3 other branches
Exclusão do arquivo pesquisa.sql que não era utilizado pelo módulo e alterações …
…na tabela de banco e recursos para indicar md_pesq_
Showing
7 changed files
with
31 additions
and
51 deletions
Show diff stats
sei/web/modulos/pesquisa/PesquisaIntegracao.php
@@ -17,8 +17,8 @@ | @@ -17,8 +17,8 @@ | ||
17 | 17 | ||
18 | switch ($strAcao) { | 18 | switch ($strAcao) { |
19 | 19 | ||
20 | - case 'md_parametro_pesquisa_listar' : | ||
21 | - case 'md_parametro_pesquisa_alterar': | 20 | + case 'md_pesq_parametro_listar': |
21 | + case 'md_pesq_parametro_alterar': | ||
22 | require_once dirname ( __FILE__ ) . '/parametro_pesquisa_lista.php'; | 22 | require_once dirname ( __FILE__ ) . '/parametro_pesquisa_lista.php'; |
23 | return true; | 23 | return true; |
24 | } | 24 | } |
sei/web/modulos/pesquisa/dto/ParametroPesquisaDTO.php
@@ -12,7 +12,7 @@ require_once dirname(__FILE__).'/../../../SEI.php'; | @@ -12,7 +12,7 @@ require_once dirname(__FILE__).'/../../../SEI.php'; | ||
12 | class ParametroPesquisaDTO extends InfraDTO { | 12 | class ParametroPesquisaDTO extends InfraDTO { |
13 | 13 | ||
14 | public function getStrNomeTabela() { | 14 | public function getStrNomeTabela() { |
15 | - return 'md_parametro_pesquisa'; | 15 | + return 'md_pesq_parametro'; |
16 | } | 16 | } |
17 | 17 | ||
18 | public function montar() { | 18 | public function montar() { |
sei/web/modulos/pesquisa/parametro_pesquisa_lista.php
@@ -24,11 +24,11 @@ try { | @@ -24,11 +24,11 @@ try { | ||
24 | switch($_GET['acao']){ | 24 | switch($_GET['acao']){ |
25 | 25 | ||
26 | 26 | ||
27 | - case 'md_parametro_pesquisa_listar': | 27 | + case 'md_pesq_parametro_listar': |
28 | $strTitulo = 'Parâmetros Pesquisa Pública'; | 28 | $strTitulo = 'Parâmetros Pesquisa Pública'; |
29 | break; | 29 | break; |
30 | 30 | ||
31 | - case 'md_parametro_pesquisa_alterar': | 31 | + case 'md_pesq_parametro_alterar': |
32 | 32 | ||
33 | $strTitulo = 'Parâmetros Pesquisa Pública'; | 33 | $strTitulo = 'Parâmetros Pesquisa Pública'; |
34 | if(isset($_POST['btnSalvar'])) { | 34 | if(isset($_POST['btnSalvar'])) { |
@@ -130,7 +130,7 @@ PaginaSEI::getInstance()->fecharHead(); | @@ -130,7 +130,7 @@ PaginaSEI::getInstance()->fecharHead(); | ||
130 | PaginaSEI::getInstance()->abrirBody($strTitulo,'onload="inicializar();"'); | 130 | PaginaSEI::getInstance()->abrirBody($strTitulo,'onload="inicializar();"'); |
131 | PaginaSEI::getInstance()->abrirAreaDados(null); | 131 | PaginaSEI::getInstance()->abrirAreaDados(null); |
132 | ?> | 132 | ?> |
133 | -<form id="frmParametroPesquisaLista" method="post" onsubmit="return OnSubmitForm();" action="<?=SessaoSEI::getInstance()->assinarLink('controlador.php?acao=md_parametro_pesquisa_alterar&acao_origem='.$_GET['acao'])?>"> | 133 | +<form id="frmParametroPesquisaLista" method="post" onsubmit="return OnSubmitForm();" action="<?=SessaoSEI::getInstance()->assinarLink('controlador.php?acao=md_pesq_parametro_alterar&acao_origem='.$_GET['acao'])?>"> |
134 | 134 | ||
135 | <? | 135 | <? |
136 | //PaginaSEI::getInstance()->montarBarraLocalizacao($strTitulo); | 136 | //PaginaSEI::getInstance()->montarBarraLocalizacao($strTitulo); |
sei/web/modulos/pesquisa/pesquisa.sql
@@ -1,18 +0,0 @@ | @@ -1,18 +0,0 @@ | ||
1 | -CREATE TABLE `SEI_3.0.0`.`md_parametro_pesquisa` ( | ||
2 | - `nome` VARCHAR(100) NOT NULL, | ||
3 | - `valor` LONGTEXT NULL, | ||
4 | - PRIMARY KEY (`nome`)); | ||
5 | - | ||
6 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('CAPTCHA', 'S'); | ||
7 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('CAPTCHA_PDF', 'S'); | ||
8 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('DOCUMENTO_PROCESSO_PUBLICO', 'S'); | ||
9 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('LISTA_DOCUMENTO_PROCESSO_PUBLICO', 'S'); | ||
10 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('LISTA_DOCUMENTO_PROCESSO_RESTRITO', 'S'); | ||
11 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('LISTA_ANDAMENTO_PROCESSO_PUBLICO', 'S'); | ||
12 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('PROCESSO_RESTRITO', 'S'); | ||
13 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('METADADOS_PROCESSO_RESTRITO', 'S'); | ||
14 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('LISTA_ANDAMENTO_PROCESSO_RESTRITO', 'S'); | ||
15 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('DESCRICAO_PROCEDIMENTO_ACESSO_RESTRITO', 'Processo ou Documento de Acesso Restrito - Para condições de acesso verifique a <a style=\"font-size: 1em;\" href=\"http://www.cade.gov.br/Default.aspx?2808080814f235152223\" target=\"_blank\">Resolução n° 11/2014</a> ou entre em contato com o Núcleo Gestor do SEI pelo e-mail sei@cade.gov.br.'); | ||
16 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('AUTO_COMPLETAR_INTERESSADO', 'S'); | ||
17 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('CHAVE_CRIPTOGRAFIA', 'C@d3S3mP@p3l#S3I83'); | ||
18 | -INSERT INTO `SEI_3.0.0`.`md_parametro_pesquisa` (`nome`, `valor`) VALUES ('MENU_USUARIO_EXTERNO', 'S'); | ||
19 | \ No newline at end of file | 0 | \ No newline at end of file |
sei/web/modulos/pesquisa/rn/InstaladorModuloPesquisaPublicaRN.php
@@ -79,16 +79,16 @@ class InstaladorModuloPesquisaPublicaRN extends InfraRN{ | @@ -79,16 +79,16 @@ class InstaladorModuloPesquisaPublicaRN extends InfraRN{ | ||
79 | $objInfraMetaBD = new InfraMetaBD(BancoSEI::getInstance()); | 79 | $objInfraMetaBD = new InfraMetaBD(BancoSEI::getInstance()); |
80 | 80 | ||
81 | $this->logar('EXECUTANDO A INSTALACAO DA VERSAO 3.0.0 DO NODULO DE PESQUISA PUBLICA NA BASE DO SEI'); | 81 | $this->logar('EXECUTANDO A INSTALACAO DA VERSAO 3.0.0 DO NODULO DE PESQUISA PUBLICA NA BASE DO SEI'); |
82 | - $this->logar('CRIANDO A TABELA md_parametro_pesquisa'); | 82 | + $this->logar('CRIANDO A TABELA md_pesq_parametro'); |
83 | 83 | ||
84 | - BancoSEI::getInstance()->executarSql(' CREATE TABLE md_parametro_pesquisa ( | 84 | + BancoSEI::getInstance()->executarSql(' CREATE TABLE md_pesq_parametro ( |
85 | nome '.$objInfraMetaBD->tipoTextoFixo(100). ' NOT NULL , | 85 | nome '.$objInfraMetaBD->tipoTextoFixo(100). ' NOT NULL , |
86 | valor '.$objInfraMetaBD->tipoTextoGrande().' | 86 | valor '.$objInfraMetaBD->tipoTextoGrande().' |
87 | )'); | 87 | )'); |
88 | - $objInfraMetaBD->adicionarChavePrimaria('md_parametro_pesquisa', 'pk_md_parametro_pesquisa', array('nome')); | 88 | + $objInfraMetaBD->adicionarChavePrimaria('md_pesq_parametro', 'pk_md_pesq_parametro', array('nome')); |
89 | 89 | ||
90 | - $this->logar('TABELA md_parametro_pesquisa CRIADA COM SUCESSO'); | ||
91 | - $this->logar('INSERINDO DADOS NA TABELA md_parametro_pesquisa'); | 90 | + $this->logar('TABELA md_pesq_parametro CRIADA COM SUCESSO'); |
91 | + $this->logar('INSERINDO DADOS NA TABELA md_pesq_parametro'); | ||
92 | 92 | ||
93 | $arrParametroPesquisaDTO = array( | 93 | $arrParametroPesquisaDTO = array( |
94 | array('Nome' => ParametroPesquisaRN::$TA_CAPTCHA , 'Valor' => 'S'), | 94 | array('Nome' => ParametroPesquisaRN::$TA_CAPTCHA , 'Valor' => 'S'), |
@@ -97,15 +97,13 @@ class InstaladorModuloPesquisaPublicaRN extends InfraRN{ | @@ -97,15 +97,13 @@ class InstaladorModuloPesquisaPublicaRN extends InfraRN{ | ||
97 | array('Nome' => ParametroPesquisaRN::$TA_PROCESSO_RESTRITO , 'Valor' => 'S'), | 97 | array('Nome' => ParametroPesquisaRN::$TA_PROCESSO_RESTRITO , 'Valor' => 'S'), |
98 | array('Nome' => ParametroPesquisaRN::$TA_METADADOS_PROCESSO_RESTRITO , 'Valor' => 'S'), | 98 | array('Nome' => ParametroPesquisaRN::$TA_METADADOS_PROCESSO_RESTRITO , 'Valor' => 'S'), |
99 | array('Nome' => ParametroPesquisaRN::$TA_LISTA_ANDAMENTO_PROCESSO_RESTRITO , 'Valor' => 'S'), | 99 | array('Nome' => ParametroPesquisaRN::$TA_LISTA_ANDAMENTO_PROCESSO_RESTRITO , 'Valor' => 'S'), |
100 | - array('Nome' => ParametroPesquisaRN::$TA_DESCRICAO_PROCEDIMENTO_ACESSO_RESTRITO , 'Valor' => 'Processo ou Documento de Acesso Restrito - Para condições de acesso verifique a <a style="font-size: 1em;" href="http://[orgao]/link_condicao_acesso" target="_blank">Condição de Acesso</a> ou entre em contato com o Núcleo Gestor do ORGAO pelo e-mail sei@orgao.gov.br.'), | 100 | + array('Nome' => ParametroPesquisaRN::$TA_DESCRICAO_PROCEDIMENTO_ACESSO_RESTRITO , 'Valor' => 'Processo ou Documento de Acesso Restrito - Para condições de acesso verifique a <a style="font-size: 1em;" href="http://[orgao]/link_condicao_acesso" target="_blank">Condição de Acesso</a> ou entre em contato pelo e-mail: sei@orgao.gov.br'), |
101 | array('Nome' => ParametroPesquisaRN::$TA_DOCUMENTO_PROCESSO_PUBLICO , 'Valor' => 'S'), | 101 | array('Nome' => ParametroPesquisaRN::$TA_DOCUMENTO_PROCESSO_PUBLICO , 'Valor' => 'S'), |
102 | array('Nome' => ParametroPesquisaRN::$TA_LISTA_DOCUMENTO_PROCESSO_PUBLICO , 'Valor' => 'S'), | 102 | array('Nome' => ParametroPesquisaRN::$TA_LISTA_DOCUMENTO_PROCESSO_PUBLICO , 'Valor' => 'S'), |
103 | array('Nome' => ParametroPesquisaRN::$TA_LISTA_DOCUMENTO_PROCESSO_RESTRITO , 'Valor' => 'S'), | 103 | array('Nome' => ParametroPesquisaRN::$TA_LISTA_DOCUMENTO_PROCESSO_RESTRITO , 'Valor' => 'S'), |
104 | array('Nome' => ParametroPesquisaRN::$TA_AUTO_COMPLETAR_INTERESSADO , 'Valor' => 'S'), | 104 | array('Nome' => ParametroPesquisaRN::$TA_AUTO_COMPLETAR_INTERESSADO , 'Valor' => 'S'), |
105 | array('Nome' => ParametroPesquisaRN::$TA_MENU_USUARIO_EXTERNO , 'Valor' => 'S'), | 105 | array('Nome' => ParametroPesquisaRN::$TA_MENU_USUARIO_EXTERNO , 'Valor' => 'S'), |
106 | array('Nome' => ParametroPesquisaRN::$TA_CHAVE_CRIPTOGRAFIA , 'Valor' => 'ch@c3_cr1pt0gr@f1a'), | 106 | array('Nome' => ParametroPesquisaRN::$TA_CHAVE_CRIPTOGRAFIA , 'Valor' => 'ch@c3_cr1pt0gr@f1a'), |
107 | - | ||
108 | - | ||
109 | ); | 107 | ); |
110 | 108 | ||
111 | $arrObjParametroPesquisaDTO = InfraArray::gerarArrInfraDTOMultiAtributos('ParametroPesquisaDTO', $arrParametroPesquisaDTO); | 109 | $arrObjParametroPesquisaDTO = InfraArray::gerarArrInfraDTOMultiAtributos('ParametroPesquisaDTO', $arrParametroPesquisaDTO); |
sei/web/modulos/pesquisa/rn/ParametroPesquisaRN.php
@@ -37,7 +37,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -37,7 +37,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
37 | try { | 37 | try { |
38 | 38 | ||
39 | //Valida Permissao | 39 | //Valida Permissao |
40 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_consultar'); | 40 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_consultar'); |
41 | 41 | ||
42 | //Regras de Negocio | 42 | //Regras de Negocio |
43 | //$objInfraException = new InfraException(); | 43 | //$objInfraException = new InfraException(); |
@@ -60,7 +60,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -60,7 +60,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
60 | try { | 60 | try { |
61 | 61 | ||
62 | // validaPermissao | 62 | // validaPermissao |
63 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_alterar'); | 63 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_alterar'); |
64 | foreach ($objArrParametroPesquisaDTO as $objParametroPesquisaDTO){ | 64 | foreach ($objArrParametroPesquisaDTO as $objParametroPesquisaDTO){ |
65 | $this->alterar($objParametroPesquisaDTO); | 65 | $this->alterar($objParametroPesquisaDTO); |
66 | } | 66 | } |
@@ -75,7 +75,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -75,7 +75,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
75 | try { | 75 | try { |
76 | 76 | ||
77 | //Valida Permissao | 77 | //Valida Permissao |
78 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_alterar'); | 78 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_alterar'); |
79 | 79 | ||
80 | //Regras de Negocio | 80 | //Regras de Negocio |
81 | $objInfraException = new InfraException(); | 81 | $objInfraException = new InfraException(); |
@@ -104,7 +104,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -104,7 +104,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
104 | try { | 104 | try { |
105 | 105 | ||
106 | //Valida Permissao | 106 | //Valida Permissao |
107 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_listar'); | 107 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_listar'); |
108 | 108 | ||
109 | //Regras de Negocio | 109 | //Regras de Negocio |
110 | //$objInfraException = new InfraException(); | 110 | //$objInfraException = new InfraException(); |
@@ -150,7 +150,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -150,7 +150,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
150 | try{ | 150 | try{ |
151 | 151 | ||
152 | //Valida Permissao | 152 | //Valida Permissao |
153 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_cadastrar'); | 153 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_cadastrar'); |
154 | 154 | ||
155 | //Regras de Negocio | 155 | //Regras de Negocio |
156 | $objInfraException = new InfraException(); | 156 | $objInfraException = new InfraException(); |
@@ -178,7 +178,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -178,7 +178,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
178 | try { | 178 | try { |
179 | 179 | ||
180 | //Valida Permissao | 180 | //Valida Permissao |
181 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_consultar'); | 181 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_consultar'); |
182 | 182 | ||
183 | //Regras de Negocio | 183 | //Regras de Negocio |
184 | //$objInfraException = new InfraException(); | 184 | //$objInfraException = new InfraException(); |
@@ -200,7 +200,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -200,7 +200,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
200 | try { | 200 | try { |
201 | 201 | ||
202 | //Valida Permissao | 202 | //Valida Permissao |
203 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_listar'); | 203 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_listar'); |
204 | 204 | ||
205 | //Regras de Negocio | 205 | //Regras de Negocio |
206 | //$objInfraException = new InfraException(); | 206 | //$objInfraException = new InfraException(); |
@@ -222,7 +222,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -222,7 +222,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
222 | try { | 222 | try { |
223 | 223 | ||
224 | //Valida Permissao | 224 | //Valida Permissao |
225 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_excluir'); | 225 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_excluir'); |
226 | 226 | ||
227 | //Regras de Negocio | 227 | //Regras de Negocio |
228 | //$objInfraException = new InfraException(); | 228 | //$objInfraException = new InfraException(); |
@@ -245,7 +245,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -245,7 +245,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
245 | try { | 245 | try { |
246 | 246 | ||
247 | //Valida Permissao | 247 | //Valida Permissao |
248 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_desativar'); | 248 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_desativar'); |
249 | 249 | ||
250 | //Regras de Negocio | 250 | //Regras de Negocio |
251 | //$objInfraException = new InfraException(); | 251 | //$objInfraException = new InfraException(); |
@@ -268,7 +268,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -268,7 +268,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
268 | try { | 268 | try { |
269 | 269 | ||
270 | //Valida Permissao | 270 | //Valida Permissao |
271 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_reativar'); | 271 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_reativar'); |
272 | 272 | ||
273 | //Regras de Negocio | 273 | //Regras de Negocio |
274 | //$objInfraException = new InfraException(); | 274 | //$objInfraException = new InfraException(); |
@@ -291,7 +291,7 @@ class ParametroPesquisaRN extends InfraRN { | @@ -291,7 +291,7 @@ class ParametroPesquisaRN extends InfraRN { | ||
291 | try { | 291 | try { |
292 | 292 | ||
293 | //Valida Permissao | 293 | //Valida Permissao |
294 | - SessaoSEI::getInstance()->validarPermissao('md_parametro_pesquisa_consultar'); | 294 | + SessaoSEI::getInstance()->validarPermissao('md_pesq_parametro_consultar'); |
295 | 295 | ||
296 | //Regras de Negocio | 296 | //Regras de Negocio |
297 | //$objInfraException = new InfraException(); | 297 | //$objInfraException = new InfraException(); |
sip/scripts/sip_instalar_modulo_pesquisa.php
@@ -133,10 +133,10 @@ class AtualizadorSipModuloPesquisaRN extends InfraRN { | @@ -133,10 +133,10 @@ class AtualizadorSipModuloPesquisaRN extends InfraRN { | ||
133 | $this->logar('ATUALIZANDO RECURSOS, MENUS E PERFIS DO MÓDULO PETICIONAMENTO NA BASE DO SIP...'); | 133 | $this->logar('ATUALIZANDO RECURSOS, MENUS E PERFIS DO MÓDULO PETICIONAMENTO NA BASE DO SIP...'); |
134 | 134 | ||
135 | //criando os recursos e vinculando-os aos perfil Administrador | 135 | //criando os recursos e vinculando-os aos perfil Administrador |
136 | - $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_parametro_pesquisa_alterar'); | ||
137 | - $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_parametro_pesquisa_consultar'); | ||
138 | - $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_parametro_pesquisa_cadastrar'); | ||
139 | - $objRecursoDTO = $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_parametro_pesquisa_listar'); | 136 | + $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_pesq_parametro_alterar'); |
137 | + $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_pesq_parametro_consultar'); | ||
138 | + $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_pesq_parametro_cadastrar'); | ||
139 | + $objRecursoDTO = $this->adicionarRecursoPerfil($numIdSistemaSei, $numIdPerfilSeiAdministrador, 'md_pesq_parametro_listar'); | ||
140 | 140 | ||
141 | //criando menu | 141 | //criando menu |
142 | 142 | ||
@@ -157,10 +157,10 @@ class AtualizadorSipModuloPesquisaRN extends InfraRN { | @@ -157,10 +157,10 @@ class AtualizadorSipModuloPesquisaRN extends InfraRN { | ||
157 | $objRegraAuditoriaDTO = $objRegraAuditoriaRN->cadastrar($objRegraAuditoriaDTO); | 157 | $objRegraAuditoriaDTO = $objRegraAuditoriaRN->cadastrar($objRegraAuditoriaDTO); |
158 | 158 | ||
159 | $rs = BancoSip::getInstance()->consultarSql('select id_recurso from recurso where id_sistema='.$numIdSistemaSei.' and nome in ( | 159 | $rs = BancoSip::getInstance()->consultarSql('select id_recurso from recurso where id_sistema='.$numIdSistemaSei.' and nome in ( |
160 | - \'md_parametro_pesquisa_alterar\', | ||
161 | - \'md_parametro_pesquisa_consultar\', | ||
162 | - \'md_parametro_pesquisa_cadastrar\', | ||
163 | - \'md_parametro_pesquisa_listar\')' | 160 | + \'md_pesq_parametro_alterar\', |
161 | + \'md_pesq_parametro_consultar\', | ||
162 | + \'md_pesq_parametro_cadastrar\', | ||
163 | + \'md_pesq_parametro_listar\')' | ||
164 | ); | 164 | ); |
165 | 165 | ||
166 | //CRIANDO REGRA DE AUDITORIA PARA NOVOS RECURSOS RECEM ADICIONADOS | 166 | //CRIANDO REGRA DE AUDITORIA PARA NOVOS RECURSOS RECEM ADICIONADOS |