-- mejora en validación
This commit is contained in:
@@ -909,7 +909,7 @@ Partial Class Sistemas_UsuarioDetalle
|
||||
|
||||
If Row.DataKey("CveProcesoAcceso") <> "" Then
|
||||
'checo si el permiso que tiene es del rol, de ser así, nada más actualizo los denegados
|
||||
If Row.DataKey("Permitir") = "" AndAlso Row.FCCheckBox("ChkD").Checked OrElse Row.DataKey("Permitir") = "0" AndAlso Row.FCCheckBox("ChkD").Checked = False Then
|
||||
If (Row.DataKey("Permitir") = "" AndAlso Row.FCCheckBox("ChkD").Checked) OrElse (Row.DataKey("Permitir") = "0" AndAlso Row.FCCheckBox("ChkD").Checked = False) Then
|
||||
If Not ObjUsuarios.UpdateUsuariosProcesos(CveUsuario, Row.DataKey("CveProceso").ToEntero, Not Row.FCCheckBox("ChkD").Checked, UsuarioActual.CveUsuario) Then
|
||||
TieneError = True
|
||||
Exit For
|
||||
|
||||
Reference in New Issue
Block a user