diff --git a/ProyectoInventario-ejb/src/java/xforce/bl/UsuariosBL.java b/ProyectoInventario-ejb/src/java/xforce/bl/UsuariosBL.java
index 2a9a5f8..e43a963 100644
--- a/ProyectoInventario-ejb/src/java/xforce/bl/UsuariosBL.java
+++ b/ProyectoInventario-ejb/src/java/xforce/bl/UsuariosBL.java
@@ -227,6 +227,7 @@ public class UsuariosBL implements UsuariosBLLocal {
users.setEmail(usuarios.getEmail());
users.setTelefono(usuarios.getTelefono());
users.setContrasenia(usuarios.getContrasenia());
+ users.setDomicilio(usuarios.getDomicilio());
users.setRolesId(usuarios.getRolesId());
users.setEstadosId(usuarios.getEstadosId());
diff --git a/ProyectoInventario-war/src/java/xforce/seguridad/DemoBeanLogin.java b/ProyectoInventario-war/src/java/xforce/seguridad/DemoBeanLogin.java
index 04faaed..36cb418 100644
--- a/ProyectoInventario-war/src/java/xforce/seguridad/DemoBeanLogin.java
+++ b/ProyectoInventario-war/src/java/xforce/seguridad/DemoBeanLogin.java
@@ -176,13 +176,16 @@ public class DemoBeanLogin implements Serializable {
switch (rol) {
case "admin":
-
+ permisos = true;
+ agregaciones = true;
break;
case "almacenista":
-
+ permisos = true;
+ agregaciones = true;
break;
case "auxiliar":
-
+ permisos = false;
+ agregaciones = false;
break;
default:
permisos = false;
@@ -194,13 +197,16 @@ public class DemoBeanLogin implements Serializable {
switch (rol) {
case "admin":
-
+ permisos = true;
+ agregaciones = true;
break;
case "almacenista":
-
+ permisos = false;
+ agregaciones = false;
break;
case "auxiliar":
-
+ permisos = false;
+ agregaciones = false;
break;
default:
permisos = false;
@@ -212,13 +218,16 @@ public class DemoBeanLogin implements Serializable {
switch (rol) {
case "admin":
-
+ permisos = true;
+ agregaciones = true;
break;
case "almacenista":
-
+ permisos = true;
+ agregaciones = false;
break;
case "auxiliar":
-
+ permisos = false;
+ agregaciones = false;
break;
default:
permisos = false;
@@ -230,13 +239,16 @@ public class DemoBeanLogin implements Serializable {
switch (rol) {
case "admin":
-
+ permisos = true;
+ agregaciones = true;
break;
case "almacenista":
-
+ permisos = true;
+ agregaciones = true;
break;
case "auxiliar":
-
+ permisos = false;
+ agregaciones = false;
break;
default:
permisos = false;
diff --git a/ProyectoInventario-war/web/estados.xhtml b/ProyectoInventario-war/web/estados.xhtml
index a5cee91..c98af93 100644
--- a/ProyectoInventario-war/web/estados.xhtml
+++ b/ProyectoInventario-war/web/estados.xhtml
@@ -38,7 +38,7 @@ Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/XHtml.xhtml to edit t