feat: fix GetAllActions()'s bug (#3289)

This commit is contained in:
liuaiolos
2024-10-16 21:55:06 +08:00
committed by GitHub
parent 7ae067e369
commit 6f1f93725e

View File

@ -364,7 +364,7 @@ func GetAllActions(userId string) ([]string, error) {
res := []string{}
for _, enforcer := range enforcers {
items := enforcer.GetAllObjects()
items := enforcer.GetAllActions()
res = append(res, items...)
}
return res, nil