mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 09:27:24 +00:00

* fix: move eventstore pkgs * fix: move eventstore pkgs * fix: remove v2 view * fix: remove v2 view
16 lines
364 B
Go
16 lines
364 B
Go
package model
|
|
|
|
import (
|
|
es_models "github.com/caos/zitadel/internal/eventstore/v1/models"
|
|
)
|
|
|
|
type UserGrant struct {
|
|
es_models.ObjectRoot
|
|
|
|
State int32 `json:"-"`
|
|
UserID string `json:"userId,omitempty"`
|
|
ProjectID string `json:"projectId,omitempty"`
|
|
GrantID string `json:"grantId,omitempty"`
|
|
RoleKeys []string `json:"roleKeys,omitempty"`
|
|
}
|