MCPcopy
hub / github.com/moul/sshportal / UserGroupsByIdentifiers

Function UserGroupsByIdentifiers

pkg/dbmodels/dbmodels.go:347–349  ·  view source on GitHub ↗
(db *gorm.DB, identifiers []string)

Source from the content-addressed store, hash-verified

345 return db.Preload("ACLs").Preload("Users")
346}
347func UserGroupsByIdentifiers(db *gorm.DB, identifiers []string) *gorm.DB {
348 return GenericNameOrID(db, identifiers)
349}
350
351// User helpers
352

Callers 1

shellFunction · 0.92

Calls 1

GenericNameOrIDFunction · 0.85

Tested by

no test coverage detected