mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 04:17:32 +00:00
feat: user v3 api update (#8582)
# Which Problems Are Solved Users are not yet able to update their information an status in user API v3. # How the Problems Are Solved Add endpoints and functionality to update users and their status in user API v3. # Additional Changes Aggregate_type and event_types are updated with "userschema" to avoid conflicts with old events. # Additional Context closes #7898
This commit is contained in:
@@ -75,3 +75,18 @@ func SearchQueryPbToQuery(defaults systemdefaults.SystemDefaults, query *resourc
|
||||
}
|
||||
return offset, limit, asc, nil
|
||||
}
|
||||
|
||||
func ResourceOwnerFromOrganization(organization *object.Organization) string {
|
||||
if organization == nil {
|
||||
return ""
|
||||
}
|
||||
|
||||
if organization.GetOrgId() != "" {
|
||||
return organization.GetOrgId()
|
||||
}
|
||||
if organization.GetOrgDomain() != "" {
|
||||
// TODO get org from domain
|
||||
return ""
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user