X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/e06899a60cc1bda43249f61aff28f99224b8013f..bcca0c17730ae290fdbdfe15f506354c1acd6c07:/sistema/www/permisos/permisos-abm.php diff --git a/sistema/www/permisos/permisos-abm.php b/sistema/www/permisos/permisos-abm.php index 4abefa1..0392c50 100644 --- a/sistema/www/permisos/permisos-abm.php +++ b/sistema/www/permisos/permisos-abm.php @@ -20,6 +20,9 @@ // $Id$ // +//VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{ +$SAMURAI_PERM->chequear(SAMURAI_PERM_DEVELOPER); +//}}} //REQUIRE_ONCE {{{ //MECON {{{ require_once 'MECON/HTML/QuickForm.php'; @@ -37,7 +40,7 @@ $FORM->addElement ('header', 'cabecera', 'ABM Permisos'); $FORM->addElement ('hidden', 'id_permiso'); $FORM->addElement ('text' , 'desc_permiso', 'Descripcion', array('size'=>'50')); - $FORM->addElement ('hidden', 'responsable' , $_SESSION['samurai']['login']); + $FORM->addElement ('hidden', 'responsable' , $_SESSION['usuario']); $group[] = HTML_QuickForm::createElement('submit', 'aceptar' , 'Grabar'); $group[] = HTML_QuickForm::createElement('button', 'cancelar', 'Cancelar', array ('onClick' => 'javascript:history.go(-1);return true;')); $FORM->addGroup($group,'botones');