From 471f21b7ea0d5c823abe554ccd2d11447d6cceb5 Mon Sep 17 00:00:00 2001 From: Zhen Xiao <452576504@qq.com> Date: Mon, 13 May 2024 14:01:24 +0800 Subject: [PATCH] feat: add missing groups for role (#114) --- casdoorsdk/role.go | 1 + 1 file changed, 1 insertion(+) diff --git a/casdoorsdk/role.go b/casdoorsdk/role.go index d3f2602..4277561 100644 --- a/casdoorsdk/role.go +++ b/casdoorsdk/role.go @@ -30,6 +30,7 @@ type Role struct { Description string `xorm:"varchar(100)" json:"description"` Users []string `xorm:"mediumtext" json:"users"` + Groups []string `xorm:"mediumtext" json:"groups"` Roles []string `xorm:"mediumtext" json:"roles"` Domains []string `xorm:"mediumtext" json:"domains"` IsEnabled bool `json:"isEnabled"`