mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 19:14:23 +00:00
a7cc57822b
* fix: remove unused code * fix: remove unused code * fix: remove unused code * fix: remove unused code
16 lines
282 B
Go
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 != ""
|
|
}
|