Commit fca05b923f37f33a05a9aa8a0e43e3df57760ca7
1 parent
dfefcf11
Exists in
master
Alterado nível de acesso para nível Escola
Showing
3 changed files
with
7 additions
and
7 deletions
Show diff stats
ieducar/intranet/educar_servidor_cad.php
| ... | ... | @@ -95,7 +95,7 @@ class indice extends clsCadastro |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | $obj_permissoes = new clsPermissoes(); |
| 98 | - $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 3, | |
| 98 | + $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 7, | |
| 99 | 99 | 'educar_servidor_lst.php'); |
| 100 | 100 | |
| 101 | 101 | if (is_numeric($this->cod_servidor) && is_numeric($this->ref_cod_instituicao)) { |
| ... | ... | @@ -111,7 +111,7 @@ class indice extends clsCadastro |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | $obj_permissoes = new clsPermissoes(); |
| 114 | - if ($obj_permissoes->permissao_excluir(635, $this->pessoa_logada, 3)) { | |
| 114 | + if ($obj_permissoes->permissao_excluir(635, $this->pessoa_logada, 7)) { | |
| 115 | 115 | $this->fexcluir = TRUE; |
| 116 | 116 | } |
| 117 | 117 | |
| ... | ... | @@ -316,7 +316,7 @@ class indice extends clsCadastro |
| 316 | 316 | @session_write_close(); |
| 317 | 317 | |
| 318 | 318 | $obj_permissoes = new clsPermissoes(); |
| 319 | - $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 3, | |
| 319 | + $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 7, | |
| 320 | 320 | 'educar_servidor_lst.php'); |
| 321 | 321 | |
| 322 | 322 | $obj = new clsPmieducarServidor($this->cod_servidor, NULL, NULL, NULL, NULL, |
| ... | ... | @@ -376,7 +376,7 @@ class indice extends clsCadastro |
| 376 | 376 | @session_write_close(); |
| 377 | 377 | |
| 378 | 378 | $obj_permissoes = new clsPermissoes(); |
| 379 | - $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 3, | |
| 379 | + $obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 7, | |
| 380 | 380 | 'educar_servidor_lst.php'); |
| 381 | 381 | |
| 382 | 382 | if ($this->ref_cod_instituicao == $this->ref_cod_instituicao_original) { |
| ... | ... | @@ -461,7 +461,7 @@ class indice extends clsCadastro |
| 461 | 461 | @session_write_close(); |
| 462 | 462 | |
| 463 | 463 | $obj_permissoes = new clsPermissoes(); |
| 464 | - $obj_permissoes->permissao_excluir(635, $this->pessoa_logada, 3, | |
| 464 | + $obj_permissoes->permissao_excluir(635, $this->pessoa_logada, 7, | |
| 465 | 465 | 'educar_servidor_lst.php'); |
| 466 | 466 | |
| 467 | 467 | $obj_quadro_horario = new clsPmieducarQuadroHorarioHorarios(NULL, NULL, NULL, | ... | ... |
ieducar/intranet/educar_servidor_det.php
| ... | ... | @@ -361,7 +361,7 @@ class indice extends clsDetalhe |
| 361 | 361 | |
| 362 | 362 | $obj_permissoes = new clsPermissoes(); |
| 363 | 363 | |
| 364 | - if ($obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 3)) { | |
| 364 | + if ($obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 7)) { | |
| 365 | 365 | $this->url_novo = 'educar_servidor_cad.php'; |
| 366 | 366 | $this->url_editar = "educar_servidor_cad.php?cod_servidor={$registro["cod_servidor"]}&ref_cod_instituicao={$this->ref_cod_instituicao}"; |
| 367 | 367 | ... | ... |
ieducar/intranet/educar_servidor_lst.php
| ... | ... | @@ -200,7 +200,7 @@ class indice extends clsListagem |
| 200 | 200 | $this->addPaginador2('educar_servidor_lst.php', $total, $_GET, $this->nome, $this->limite); |
| 201 | 201 | $obj_permissoes = new clsPermissoes(); |
| 202 | 202 | |
| 203 | - if ($obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 3)) { | |
| 203 | + if ($obj_permissoes->permissao_cadastra(635, $this->pessoa_logada, 7)) { | |
| 204 | 204 | $this->acao = 'go("educar_servidor_cad.php")'; |
| 205 | 205 | $this->nome_acao = 'Novo'; |
| 206 | 206 | } | ... | ... |