mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Use RoleType from org package * Move to identity package and re-export from authn * Replace usage of top level functions for identity Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
14 lines
331 B
Go
14 lines
331 B
Go
package identity
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"github.com/grafana/grafana/pkg/util/errutil"
|
|
)
|
|
|
|
var (
|
|
ErrInvalidNamespaceID = errutil.BadRequest("auth.identity.invalid-namespace-id")
|
|
ErrNotIntIdentifier = errors.New("identifier is not an int64")
|
|
ErrIdentifierNotInitialized = errors.New("identifier is not initialized")
|
|
)
|