mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-08 07:05:12 +00:00
* feat: change login to command side * feat: change login to command side * fix: fix push on user * feat: user command side * feat: sign out * feat: command side login * feat: command side login * feat: fix register user * feat: fix register user * feat: fix web auth n events * feat: add machine keys * feat: send codes * feat: move authrequest to domain * feat: move authrequest to domain * feat: webauthn working * feat: external users * feat: external users login * feat: notify users * fix: tests * feat: cascade remove user grants on project remove * fix: webauthn * fix: pr requests * fix: register human with member * fix: fix bugs * fix: fix bugs
14 lines
516 B
Go
14 lines
516 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
"github.com/caos/zitadel/internal/usergrant/model"
|
|
)
|
|
|
|
type UserGrantRepository interface {
|
|
UserGrantByID(ctx context.Context, grantID string) (*model.UserGrantView, error)
|
|
SearchUserGrants(ctx context.Context, request *model.UserGrantSearchRequest) (*model.UserGrantSearchResponse, error)
|
|
UserGrantsByProjectID(ctx context.Context, projectID string) ([]*model.UserGrantView, error)
|
|
UserGrantsByUserID(ctx context.Context, userID string) ([]*model.UserGrantView, error)
|
|
}
|