Private
Public Access
feat: arreglado tema permisos
This commit is contained in:
1 parent
7d77898b68
commit
939e972c64
9 files changed
+127
-54
No files matched your search
@@ -9,7 +9,16 @@ type GrupoPermisoRequest struct {
|
||||
type GrupoHijoRequest struct {
|
||||
ChildGroupID uint `json:"child_group_id"`
|
||||
}
|
||||
type GrupoSimpleDTO struct {
|
||||
Nombre string `json:"nombre"`
|
||||
Descripcion string `json:"descripcion"`
|
||||
Permisos []PermisoSimpleDTO `json:"permisos"`
|
||||
}
|
||||
|
||||
type PermisoSimpleDTO struct {
|
||||
Nombre string `json:"nombre"`
|
||||
Alias string `json:"alias"`
|
||||
}
|
||||
type PermisosUsuarioResponse struct {
|
||||
Permisos []string `json:"permissions"`
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user