Private
Public Access
bueno es parte del plan de implementacion para el caso de uso de gestion
de stock
This commit is contained in:
1 parent
24e746b1b7
commit
6ed8805e21
40 files changed
+2748
-31
No files matched your search
@@ -3,14 +3,18 @@ package models_seguridad
|
||||
// IDs estables del catálogo global de permisos. Se mantienen fijos para no
|
||||
// romper tokens, grupos ni datos existentes.
|
||||
const (
|
||||
PermisoGestionPermisos uint = 1
|
||||
PermisoGestionGrupos uint = 2
|
||||
PermisoGestionUsuarios uint = 3
|
||||
PermisoGestionRepuestos uint = 4
|
||||
PermisoGestionLogs uint = 6
|
||||
PermisoGestionMarcas uint = 5
|
||||
PermisoGestionEmpresa uint = 7
|
||||
PermisoPlataforma uint = 8
|
||||
PermisoGestionPermisos uint = 1
|
||||
PermisoGestionGrupos uint = 2
|
||||
PermisoGestionUsuarios uint = 3
|
||||
PermisoGestionRepuestos uint = 4
|
||||
PermisoGestionLogs uint = 6
|
||||
PermisoGestionMarcas uint = 5
|
||||
PermisoGestionEmpresa uint = 7
|
||||
PermisoPlataforma uint = 8
|
||||
PermisoGestionStock uint = 9
|
||||
PermisoGestionAlmacenes uint = 10
|
||||
PermisoGestionProveedores uint = 11
|
||||
PermisoGestionClientes uint = 12
|
||||
)
|
||||
|
||||
// PermisosDeEmpresa son los permisos que puede recibir una empresa. Los
|
||||
@@ -23,6 +27,10 @@ func PermisosDeEmpresa() []uint {
|
||||
PermisoGestionLogs,
|
||||
PermisoGestionMarcas,
|
||||
PermisoGestionEmpresa,
|
||||
PermisoGestionStock,
|
||||
PermisoGestionAlmacenes,
|
||||
PermisoGestionProveedores,
|
||||
PermisoGestionClientes,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user