zitadel/internal/usergrant/repository/eventsourcing/model/user_grant.go
Fabi a7cc57822b
fix: cleanup (#1312)
* fix: remove unused code

* fix: remove unused code

* fix: remove unused code

* fix: remove unused code
2021-02-19 14:35:42 +01:00

16 lines
361 B
Go

package model
import (
es_models "github.com/caos/zitadel/internal/eventstore/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"`
}