zitadel/internal/org/model/org_iam_policy.go

22 lines
344 B
Go
Raw Normal View History

package model
import (
"github.com/caos/zitadel/internal/eventstore/models"
)
type OrgIamPolicy struct {
models.ObjectRoot
Description string
State PolicyState
UserLoginMustBeDomain bool
Default bool
}
type PolicyState int32
const (
PolicyStateActive PolicyState = iota
PolicyStateRemoved
)