Files
zitadel/internal/domain/group.go
T
Gayathri VijayanandGitHub ebc6c503a3 feat(group): add group permissions (#10853)
# Which Problems Are Solved
Ensuring the user group resource is managed with appropriate
permissions.

# How the Problems Are Solved
By configuring and checking for the relevant permissions needed to
create, read, update, and delete the user groups resource.

# Additional Changes
N/A

# Additional Context
- Related to #9702 
- Follow-up for PRs #10455,  #10758
2025-10-21 11:18:21 +02:00

14 lines
227 B
Go

package domain
type GroupState int32
const (
GroupStateUnspecified GroupState = iota
GroupStateActive
GroupStateRemoved
)
func (g GroupState) Exists() bool {
return g != GroupStateRemoved && g != GroupStateUnspecified
}