mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 22:24:31 +08:00
chore: move user_auth models to (mostly) login service (#62269)
* chore: move user_auth models to (mostly) login service
This commit is contained in:
@ -1,9 +1,7 @@
|
||||
package ldap
|
||||
|
||||
import "github.com/grafana/grafana/pkg/models"
|
||||
|
||||
type Groups interface {
|
||||
GetTeams(groups []string, orgIDs []int64) ([]models.TeamOrgGroupDTO, error)
|
||||
GetTeams(groups []string, orgIDs []int64) ([]TeamOrgGroupDTO, error)
|
||||
}
|
||||
|
||||
type OSSGroups struct{}
|
||||
@ -12,6 +10,6 @@ func ProvideGroupsService() *OSSGroups {
|
||||
return &OSSGroups{}
|
||||
}
|
||||
|
||||
func (*OSSGroups) GetTeams(_ []string, _ []int64) ([]models.TeamOrgGroupDTO, error) {
|
||||
func (*OSSGroups) GetTeams(_ []string, _ []int64) ([]TeamOrgGroupDTO, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user