diff --git a/object/check.go b/object/check.go index bf134525..767c2ab3 100644 --- a/object/check.go +++ b/object/check.go @@ -353,7 +353,7 @@ func CheckAccessPermission(userId string, application *Application) (bool, error allowed := true for _, permission := range permissions { - if !permission.IsEnabled || len(permission.Users) == 0 { + if !permission.IsEnabled { continue }