mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
f80367b49a
* feat: register new organisation * feat: create org request in management * fix: tests * Update internal/ui/login/static/i18n/en.yaml Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/static/i18n/de.yaml Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/static/templates/register_org.html Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/handler/register_org_handler.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * Update internal/ui/login/handler/register_org_handler.go Co-authored-by: Livio Amstutz <livio.a@gmail.com> * fix: remove autocomplete * fix: regenerate proto Co-authored-by: Livio Amstutz <livio.a@gmail.com>
13 lines
363 B
Go
13 lines
363 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
auth_model "github.com/caos/zitadel/internal/auth/model"
|
|
org_model "github.com/caos/zitadel/internal/org/model"
|
|
)
|
|
|
|
type OrgRepository interface {
|
|
RegisterOrg(context.Context, *auth_model.RegisterOrg) (*auth_model.RegisterOrg, error)
|
|
GetOrgIamPolicy(ctx context.Context, orgID string) (*org_model.OrgIamPolicy, error)
|
|
}
|