feat: register org process (#558)

* 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 <[email protected]>

* Update internal/ui/login/static/i18n/de.yaml

Co-authored-by: Livio Amstutz <[email protected]>

* Update internal/ui/login/static/templates/register_org.html

Co-authored-by: Livio Amstutz <[email protected]>

* Update internal/ui/login/handler/register_org_handler.go

Co-authored-by: Livio Amstutz <[email protected]>

* Update internal/ui/login/handler/register_org_handler.go

Co-authored-by: Livio Amstutz <[email protected]>

* fix: remove autocomplete

* fix: regenerate proto

Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
Fabi
2020-08-06 14:38:19 +02:00
committed by GitHub
co-authored by Livio Amstutz
parent 41fa434439
commit f80367b49a
42 changed files with 15492 additions and 7875 deletions
@@ -523,6 +523,17 @@ service ManagementService {
};
}
rpc CreateOrg(OrgCreateRequest) returns (Org) {
option (google.api.http) = {
post: "/orgs"
body: "*"
};
option (caos.zitadel.utils.v1.auth_option) = {
permission: "org.create"
};
}
rpc GetMyOrg(google.protobuf.Empty) returns (OrgView) {
option (google.api.http) = {
get: "/orgs/me"
@@ -1862,6 +1873,10 @@ message OrgID {
string id = 1;
}
message OrgCreateRequest {
string name = 1;
}
message Org {
string id = 1;
OrgState state = 2;