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,7 +95,7 @@ class indice extends clsCadastro | ||
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | $obj_permissoes = new clsPermissoes(); | 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 | 'educar_servidor_lst.php'); | 99 | 'educar_servidor_lst.php'); |
| 100 | 100 | ||
| 101 | if (is_numeric($this->cod_servidor) && is_numeric($this->ref_cod_instituicao)) { | 101 | if (is_numeric($this->cod_servidor) && is_numeric($this->ref_cod_instituicao)) { |
| @@ -111,7 +111,7 @@ class indice extends clsCadastro | @@ -111,7 +111,7 @@ class indice extends clsCadastro | ||
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | $obj_permissoes = new clsPermissoes(); | 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 | $this->fexcluir = TRUE; | 115 | $this->fexcluir = TRUE; |
| 116 | } | 116 | } |
| 117 | 117 | ||
| @@ -316,7 +316,7 @@ class indice extends clsCadastro | @@ -316,7 +316,7 @@ class indice extends clsCadastro | ||
| 316 | @session_write_close(); | 316 | @session_write_close(); |
| 317 | 317 | ||
| 318 | $obj_permissoes = new clsPermissoes(); | 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 | 'educar_servidor_lst.php'); | 320 | 'educar_servidor_lst.php'); |
| 321 | 321 | ||
| 322 | $obj = new clsPmieducarServidor($this->cod_servidor, NULL, NULL, NULL, NULL, | 322 | $obj = new clsPmieducarServidor($this->cod_servidor, NULL, NULL, NULL, NULL, |
| @@ -376,7 +376,7 @@ class indice extends clsCadastro | @@ -376,7 +376,7 @@ class indice extends clsCadastro | ||
| 376 | @session_write_close(); | 376 | @session_write_close(); |
| 377 | 377 | ||
| 378 | $obj_permissoes = new clsPermissoes(); | 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 | 'educar_servidor_lst.php'); | 380 | 'educar_servidor_lst.php'); |
| 381 | 381 | ||
| 382 | if ($this->ref_cod_instituicao == $this->ref_cod_instituicao_original) { | 382 | if ($this->ref_cod_instituicao == $this->ref_cod_instituicao_original) { |
| @@ -461,7 +461,7 @@ class indice extends clsCadastro | @@ -461,7 +461,7 @@ class indice extends clsCadastro | ||
| 461 | @session_write_close(); | 461 | @session_write_close(); |
| 462 | 462 | ||
| 463 | $obj_permissoes = new clsPermissoes(); | 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 | 'educar_servidor_lst.php'); | 465 | 'educar_servidor_lst.php'); |
| 466 | 466 | ||
| 467 | $obj_quadro_horario = new clsPmieducarQuadroHorarioHorarios(NULL, NULL, NULL, | 467 | $obj_quadro_horario = new clsPmieducarQuadroHorarioHorarios(NULL, NULL, NULL, |
ieducar/intranet/educar_servidor_det.php
| @@ -361,7 +361,7 @@ class indice extends clsDetalhe | @@ -361,7 +361,7 @@ class indice extends clsDetalhe | ||
| 361 | 361 | ||
| 362 | $obj_permissoes = new clsPermissoes(); | 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 | $this->url_novo = 'educar_servidor_cad.php'; | 365 | $this->url_novo = 'educar_servidor_cad.php'; |
| 366 | $this->url_editar = "educar_servidor_cad.php?cod_servidor={$registro["cod_servidor"]}&ref_cod_instituicao={$this->ref_cod_instituicao}"; | 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,7 +200,7 @@ class indice extends clsListagem | ||
| 200 | $this->addPaginador2('educar_servidor_lst.php', $total, $_GET, $this->nome, $this->limite); | 200 | $this->addPaginador2('educar_servidor_lst.php', $total, $_GET, $this->nome, $this->limite); |
| 201 | $obj_permissoes = new clsPermissoes(); | 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 | $this->acao = 'go("educar_servidor_cad.php")'; | 204 | $this->acao = 'go("educar_servidor_cad.php")'; |
| 205 | $this->nome_acao = 'Novo'; | 205 | $this->nome_acao = 'Novo'; |
| 206 | } | 206 | } |