zitadel/internal/project/model/project_role.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
282 B
Go

package model
import es_models "github.com/caos/zitadel/internal/eventstore/models"
type ProjectRole struct {
es_models.ObjectRoot
Key string
DisplayName string
Group string
}
func (p *ProjectRole) IsValid() bool {
return p.AggregateID != "" && p.Key != ""
}