Private
Public Access
feat:añadido quitar y asignar grupos a un usuario
This commit is contained in:
1 parent
38e040354a
commit
22b2b7d2d0
14 files changed
+486
-9
No files matched your search
@@ -24,3 +24,12 @@ type GruposYPermisosResponse struct {
|
||||
Email string `json:"email"`
|
||||
Groups []GrupoInfo `json:"groups"`
|
||||
}
|
||||
|
||||
type GrupoUsuarioRelacion struct {
|
||||
GrupoID uint `json:"grupo_id" binding:"required"`
|
||||
UsuarioID uint `json:"usuario_id" binding:"required"`
|
||||
}
|
||||
|
||||
type UsuarioIDRequest struct{
|
||||
UsuarioID uint `json:"usuario_id" binding:"required"`
|
||||
}
|
||||
Reference in new issue
Block a user