Skip to content
Snippets Groups Projects
Commit 28d80079 authored by Alena Petraki's avatar Alena Petraki
Browse files

Правки импортов

parent 678af3c5
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,11 @@ package auth
import (
"context"
"git.perx.ru/perxis/perxis-go/pkg/data"
"git.perx.ru/perxis/perxis-go/pkg/environments"
"git.perx.ru/perxis/perxis-go/pkg/members"
"git.perx.ru/perxis/perxis-go/pkg/permission"
"git.perx.ru/perxis/perxis-go/pkg/roles"
"git.perx.ru/perxis/perxis/util"
)
type Principal interface {
......@@ -62,7 +62,7 @@ func hasEnvironmentAccess(ctx context.Context, envsrv environments.Environments,
}
for _, ce := range envs {
if envID == ce || util.GlobMatch(envID, ce) {
if envID == ce || data.GlobMatch(envID, ce) {
return true
}
}
......@@ -76,7 +76,7 @@ func hasEnvironmentAccess(ctx context.Context, envsrv environments.Environments,
for _, ce := range envs {
for _, al := range aliases {
if al == ce || util.GlobMatch(al, ce) {
if al == ce || data.GlobMatch(al, ce) {
return true
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment