mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 11:34:26 +00:00
13 lines
443 B
Go
13 lines
443 B
Go
|
package repository
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"github.com/caos/zitadel/internal/usergrant/model"
|
||
|
)
|
||
|
|
||
|
type UserGrantRepository interface {
|
||
|
SearchMyUserGrants(ctx context.Context, request *model.UserGrantSearchRequest) (*model.UserGrantSearchResponse, error)
|
||
|
SearchMyProjectOrgs(ctx context.Context, request *model.UserGrantSearchRequest) (*model.ProjectOrgSearchResponse, error)
|
||
|
SearchMyZitadelPermissions(ctx context.Context) ([]string, error)
|
||
|
}
|