feat: pagina principal configurable por rol (HomeUrl)

This commit is contained in:
Lizandro Guarnizo
2026-07-06 23:05:02 -05:00
parent 7d27240f27
commit 9a3a5d4b25
5 changed files with 50 additions and 5 deletions
+1
View File
@@ -13,6 +13,7 @@ type Roles struct {
CreatedAt time.Time `json:"created_at" gorm:"column:created_at"`
Description string `json:"description" gorm:"column:description"`
Name string `json:"name" gorm:"column:name"`
HomeUrl string `json:"home_url" gorm:"column:home_url"`
EsPortalCliente bool `json:"es_portal_cliente" gorm:"column:es_portal_cliente;default:false"`
EsPortalPartner bool `json:"es_portal_partner" gorm:"column:es_portal_partner;default:false"`
Submodules []Submodules `json:"submodules" gorm:"many2many:roles_submodules"`