2020-03-23 15:56:02 +00:00
{
"swagger" : "2.0" ,
"info" : {
"title" : "Auth API" ,
"version" : "0.1" ,
"contact" : {
"url" : "https://github.com/caos/zitadel/pkg/auth"
}
} ,
"schemes" : [
"https"
] ,
"consumes" : [
"application/json" ,
"application/grpc"
] ,
"produces" : [
"application/json" ,
"application/grpc"
] ,
"paths" : {
2020-03-31 09:07:48 +00:00
"/global/projectorgs/_search" : {
2020-03-23 15:56:02 +00:00
"post" : {
2020-03-31 09:07:48 +00:00
"operationId" : "SearchMyProjectOrgs" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1MyProjectOrgSearchResponse"
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1MyProjectOrgSearchRequest"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/healthz" : {
2020-03-23 15:56:02 +00:00
"get" : {
2020-03-31 09:07:48 +00:00
"summary" : "Readiness" ,
"operationId" : "Healthz" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-06-19 13:33:54 +00:00
"/permissions/me" : {
"get" : {
"operationId" : "GetMyProjectPermissions" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MyPermissions"
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/permissions/zitadel/me" : {
"get" : {
"summary" : "Permission" ,
"operationId" : "GetMyZitadelPermissions" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1MyPermissions"
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-07-06 13:35:20 +00:00
"/policies/passwords/complexity" : {
"get" : {
"operationId" : "GetMyPasswordComplexityPolicy" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1PasswordComplexityPolicy"
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/ready" : {
"get" : {
"operationId" : "Ready" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-06-05 05:50:04 +00:00
"/usergrants/me/_search" : {
"post" : {
"operationId" : "SearchMyUserGrant" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantSearchResponse"
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UserGrantSearchRequest"
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-06-17 14:43:53 +00:00
"/users/me" : {
"get" : {
"summary" : "User" ,
"operationId" : "GetMyUser" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserView"
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/address" : {
2020-03-23 15:56:02 +00:00
"get" : {
2020-03-31 09:07:48 +00:00
"operationId" : "GetMyUserAddress" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-06-17 05:25:04 +00:00
"$ref" : "#/definitions/v1UserAddressView"
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
2020-03-31 09:07:48 +00:00
} ,
"put" : {
"operationId" : "UpdateMyUserAddress" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1UserAddress"
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-03-31 09:07:48 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateUserAddressRequest"
}
}
] ,
2020-03-23 15:56:02 +00:00
"tags" : [
"AuthService"
]
}
} ,
2020-07-01 05:18:05 +00:00
"/users/me/changes" : {
"get" : {
"operationId" : "GetMyUserChanges" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1Changes"
}
}
} ,
"parameters" : [
{
"name" : "limit" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "sequence_offset" ,
"in" : "query" ,
"required" : false ,
"type" : "string" ,
"format" : "uint64"
} ,
{
"name" : "asc" ,
"in" : "query" ,
"required" : false ,
"type" : "boolean" ,
"format" : "boolean"
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/email" : {
2020-03-23 15:56:02 +00:00
"get" : {
2020-03-31 09:07:48 +00:00
"operationId" : "GetMyUserEmail" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-06-17 05:25:04 +00:00
"$ref" : "#/definitions/v1UserEmailView"
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
2020-03-31 09:07:48 +00:00
} ,
"put" : {
"operationId" : "ChangeMyUserEmail" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1UserEmail"
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-03-31 09:07:48 +00:00
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1UpdateUserEmailRequest"
}
}
] ,
2020-03-23 15:56:02 +00:00
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/email/_resendverification" : {
"post" : {
"operationId" : "ResendMyEmailVerificationMail" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
2020-03-31 09:07:48 +00:00
"name" : "body" ,
"in" : "body" ,
2020-03-23 15:56:02 +00:00
"required" : true ,
2020-03-31 09:07:48 +00:00
"schema" : {
"properties" : { }
}
2020-03-23 15:56:02 +00:00
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/email/_verify" : {
2020-03-23 15:56:02 +00:00
"post" : {
2020-03-31 09:07:48 +00:00
"operationId" : "VerifyMyUserEmail" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1VerifyMyUserEmailRequest"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
feat: split users into human and machine (#470)
* feat(management): service accounts
* chore: current go version
* init
* refactor: apis
* feat(internal): start impl of service account
* chore: start impl of machine/human users
* code compiles
* fix: tests
* fix: tests
* fix: add new event types to switches
* chore: add cases to event types
* fix(management): definitive proto messages
* fix: machine/human
* fix: add missing tables as todos
* fix: remove unused permissions
* fix: refactoring
* fix: refactor
* fix: human registered
* fix: user id
* fix: logid
* fix: proto remove //equal
* chore(management): remove no comment
* fix: human mfas
* fix: user subobjects
* chore: rename existing to better name
* fix: username in user (#634)
* fix: username in user
* fix: username
* fix remove unused code
* fix add validations
* fix: use new user in all apis
* fix: regexp for username in api
* fix: fill user data for human and machine (#638)
* fix: fill Display name grant/member handlers
fix: add description to grant/member objects in api
fix: check if user is human in login
* fix: remove description from member and grant
* chore: remove todos
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix partial authconfig prompt, domain c perm
* membership read check
* contributor refresh trigger, observe org write
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* user permissions, project deactivate
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* allow user grants for project.write
* management service
* fix mgmt service
* feat: Machine keys (#655)
* fix: memberships (#633)
* feat: add iam members to memberships
* fix: search project grants
* fix: rename
* feat: idp and login policy configurations (#619)
* feat: oidc config
* fix: oidc configurations
* feat: oidc idp config
* feat: add oidc config test
* fix: tests
* fix: tests
* feat: translate new events
* feat: idp eventstore
* feat: idp eventstore
* fix: tests
* feat: command side idp
* feat: query side idp
* feat: idp config on org
* fix: tests
* feat: authz idp on org
* feat: org idps
* feat: login policy
* feat: login policy
* feat: login policy
* feat: add idp func on login policy
* feat: add validation to loginpolicy and idp provider
* feat: add default login policy
* feat: login policy on org
* feat: login policy on org
* fix: id config handlers
* fix: id config handlers
* fix: create idp on org
* fix: create idp on org
* fix: not existing idp config
* fix: default login policy
* fix: add login policy on org
* fix: idp provider search on org
* fix: test
* fix: remove idp on org
* fix: test
* fix: test
* fix: remove admin idp
* fix: logo src as byte
* fix: migration
* fix: tests
* Update internal/iam/repository/eventsourcing/iam.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/org/repository/eventsourcing/org_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: pr comments
* fix: tests
* Update types.go
* fix: merge request changes
* fix: reduce optimization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: reread user mfas, preferred loginname as otp account name (#636)
* fix: reread user mfas
* fix: use preferred login name as otp account name
* fix: tests
* fix: reduce (#635)
* fix: management reduce optimization
* fix: reduce optimization
* fix: reduce optimization
* fix: merge master
* chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#627)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#624)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0 (#591)
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases)
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: auto assign issues and PR to ZTIADEL project board (#643)
* Create main.yml
* Update main.yml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(console): project grant members, update deps (#645)
* fix: searchprojectgrantmembers
* chore(deps-dev): bump @angular/cli from 10.0.6 to 10.0.7 in /console (#622)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.6 to 10.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.6...v10.0.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#626)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
* chore(deps-dev): bump @types/jasmine from 3.5.12 to 3.5.13 in /console (#623)
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.12 to 3.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 in /console (#629)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packlock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: delete main.yml (#648)
* fix: usergrant (#650)
* fix(console): mfa refresh after verification, member eventemitter (#651)
* refresh mfa
* fix: detail link from contributors
* lint
* feat: add domain verification notification (#649)
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix: translation (#647)
* fix: translation
* fix: translation
* fix: translation
* fix: remove unused code
* fix: log err
* fix: migration numbers (#652)
* chore: issue / feature templates (#642)
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* feat: global org read (#657)
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* refactor: protos
* fix(management): key expiration date
* fix: check if user is human
* fix: marshal key details
* fix: correct generate login names
* fix: logid
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
* fix: naming
* refactor: findings
* fix: username
* fix: mfa upper case
* fix: tests
* fix: add translations
* reactivatemyorg req typeö
* fix: projectType for console
* fix: user changes
* fix: translate events
* fix: event type translation
* fix: remove unused types
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 15:48:01 +00:00
"/users/me/mfas" : {
"get" : {
"operationId" : "GetMyMfas" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1MultiFactors"
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
"/users/me/mfas/otp" : {
2020-03-31 09:07:48 +00:00
"delete" : {
"operationId" : "RemoveMfaOTP" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
}
} ,
"tags" : [
"AuthService"
]
} ,
2020-03-23 15:56:02 +00:00
"post" : {
2020-03-31 09:07:48 +00:00
"summary" : "MFA" ,
"operationId" : "AddMfaOTP" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1MfaOtpResponse"
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
feat: split users into human and machine (#470)
* feat(management): service accounts
* chore: current go version
* init
* refactor: apis
* feat(internal): start impl of service account
* chore: start impl of machine/human users
* code compiles
* fix: tests
* fix: tests
* fix: add new event types to switches
* chore: add cases to event types
* fix(management): definitive proto messages
* fix: machine/human
* fix: add missing tables as todos
* fix: remove unused permissions
* fix: refactoring
* fix: refactor
* fix: human registered
* fix: user id
* fix: logid
* fix: proto remove //equal
* chore(management): remove no comment
* fix: human mfas
* fix: user subobjects
* chore: rename existing to better name
* fix: username in user (#634)
* fix: username in user
* fix: username
* fix remove unused code
* fix add validations
* fix: use new user in all apis
* fix: regexp for username in api
* fix: fill user data for human and machine (#638)
* fix: fill Display name grant/member handlers
fix: add description to grant/member objects in api
fix: check if user is human in login
* fix: remove description from member and grant
* chore: remove todos
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix partial authconfig prompt, domain c perm
* membership read check
* contributor refresh trigger, observe org write
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* user permissions, project deactivate
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* allow user grants for project.write
* management service
* fix mgmt service
* feat: Machine keys (#655)
* fix: memberships (#633)
* feat: add iam members to memberships
* fix: search project grants
* fix: rename
* feat: idp and login policy configurations (#619)
* feat: oidc config
* fix: oidc configurations
* feat: oidc idp config
* feat: add oidc config test
* fix: tests
* fix: tests
* feat: translate new events
* feat: idp eventstore
* feat: idp eventstore
* fix: tests
* feat: command side idp
* feat: query side idp
* feat: idp config on org
* fix: tests
* feat: authz idp on org
* feat: org idps
* feat: login policy
* feat: login policy
* feat: login policy
* feat: add idp func on login policy
* feat: add validation to loginpolicy and idp provider
* feat: add default login policy
* feat: login policy on org
* feat: login policy on org
* fix: id config handlers
* fix: id config handlers
* fix: create idp on org
* fix: create idp on org
* fix: not existing idp config
* fix: default login policy
* fix: add login policy on org
* fix: idp provider search on org
* fix: test
* fix: remove idp on org
* fix: test
* fix: test
* fix: remove admin idp
* fix: logo src as byte
* fix: migration
* fix: tests
* Update internal/iam/repository/eventsourcing/iam.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/org/repository/eventsourcing/org_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: pr comments
* fix: tests
* Update types.go
* fix: merge request changes
* fix: reduce optimization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: reread user mfas, preferred loginname as otp account name (#636)
* fix: reread user mfas
* fix: use preferred login name as otp account name
* fix: tests
* fix: reduce (#635)
* fix: management reduce optimization
* fix: reduce optimization
* fix: reduce optimization
* fix: merge master
* chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#627)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#624)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0 (#591)
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases)
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: auto assign issues and PR to ZTIADEL project board (#643)
* Create main.yml
* Update main.yml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(console): project grant members, update deps (#645)
* fix: searchprojectgrantmembers
* chore(deps-dev): bump @angular/cli from 10.0.6 to 10.0.7 in /console (#622)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.6 to 10.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.6...v10.0.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#626)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
* chore(deps-dev): bump @types/jasmine from 3.5.12 to 3.5.13 in /console (#623)
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.12 to 3.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 in /console (#629)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packlock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: delete main.yml (#648)
* fix: usergrant (#650)
* fix(console): mfa refresh after verification, member eventemitter (#651)
* refresh mfa
* fix: detail link from contributors
* lint
* feat: add domain verification notification (#649)
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix: translation (#647)
* fix: translation
* fix: translation
* fix: translation
* fix: remove unused code
* fix: log err
* fix: migration numbers (#652)
* chore: issue / feature templates (#642)
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* feat: global org read (#657)
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* refactor: protos
* fix(management): key expiration date
* fix: check if user is human
* fix: marshal key details
* fix: correct generate login names
* fix: logid
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
* fix: naming
* refactor: findings
* fix: username
* fix: mfa upper case
* fix: tests
* fix: add translations
* reactivatemyorg req typeö
* fix: projectType for console
* fix: user changes
* fix: translate events
* fix: event type translation
* fix: remove unused types
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 15:48:01 +00:00
"/users/me/mfas/otp/_verify" : {
2020-03-23 15:56:02 +00:00
"put" : {
2020-03-31 09:07:48 +00:00
"operationId" : "VerifyMfaOTP" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-05-18 10:06:36 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1VerifyMfaOtp"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/passwords/_change" : {
2020-03-23 15:56:02 +00:00
"put" : {
2020-05-18 10:06:36 +00:00
"summary" : "Password" ,
2020-03-31 09:07:48 +00:00
"operationId" : "ChangeMyPassword" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1PasswordChange"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/phone" : {
"get" : {
"operationId" : "GetMyUserPhone" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-06-17 05:25:04 +00:00
"$ref" : "#/definitions/v1UserPhoneView"
2020-03-31 09:07:48 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
} ,
2020-07-06 13:48:24 +00:00
"delete" : {
"operationId" : "RemoveMyUserPhone" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
}
} ,
"tags" : [
"AuthService"
]
} ,
2020-03-23 15:56:02 +00:00
"put" : {
2020-03-31 09:07:48 +00:00
"operationId" : "ChangeMyUserPhone" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1UserPhone"
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1UpdateUserPhoneRequest"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/phone/_resendverification" : {
2020-03-23 15:56:02 +00:00
"post" : {
2020-03-31 09:07:48 +00:00
"operationId" : "ResendMyPhoneVerificationCode" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/phone/_verify" : {
"post" : {
"operationId" : "VerifyMyUserPhone" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"properties" : { }
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
2020-03-31 09:07:48 +00:00
"name" : "body" ,
"in" : "body" ,
2020-03-23 15:56:02 +00:00
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1VerifyUserPhoneRequest"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/users/me/profile" : {
2020-03-23 15:56:02 +00:00
"get" : {
2020-03-31 09:07:48 +00:00
"operationId" : "GetMyUserProfile" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-06-17 05:25:04 +00:00
"$ref" : "#/definitions/v1UserProfileView"
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
} ,
"put" : {
2020-03-31 09:07:48 +00:00
"operationId" : "UpdateMyUserProfile" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1UserProfile"
2020-03-23 15:56:02 +00:00
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
2020-03-31 09:07:48 +00:00
"$ref" : "#/definitions/v1UpdateUserProfileRequest"
2020-03-23 15:56:02 +00:00
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
feat: split users into human and machine (#470)
* feat(management): service accounts
* chore: current go version
* init
* refactor: apis
* feat(internal): start impl of service account
* chore: start impl of machine/human users
* code compiles
* fix: tests
* fix: tests
* fix: add new event types to switches
* chore: add cases to event types
* fix(management): definitive proto messages
* fix: machine/human
* fix: add missing tables as todos
* fix: remove unused permissions
* fix: refactoring
* fix: refactor
* fix: human registered
* fix: user id
* fix: logid
* fix: proto remove //equal
* chore(management): remove no comment
* fix: human mfas
* fix: user subobjects
* chore: rename existing to better name
* fix: username in user (#634)
* fix: username in user
* fix: username
* fix remove unused code
* fix add validations
* fix: use new user in all apis
* fix: regexp for username in api
* fix: fill user data for human and machine (#638)
* fix: fill Display name grant/member handlers
fix: add description to grant/member objects in api
fix: check if user is human in login
* fix: remove description from member and grant
* chore: remove todos
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix partial authconfig prompt, domain c perm
* membership read check
* contributor refresh trigger, observe org write
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* user permissions, project deactivate
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* allow user grants for project.write
* management service
* fix mgmt service
* feat: Machine keys (#655)
* fix: memberships (#633)
* feat: add iam members to memberships
* fix: search project grants
* fix: rename
* feat: idp and login policy configurations (#619)
* feat: oidc config
* fix: oidc configurations
* feat: oidc idp config
* feat: add oidc config test
* fix: tests
* fix: tests
* feat: translate new events
* feat: idp eventstore
* feat: idp eventstore
* fix: tests
* feat: command side idp
* feat: query side idp
* feat: idp config on org
* fix: tests
* feat: authz idp on org
* feat: org idps
* feat: login policy
* feat: login policy
* feat: login policy
* feat: add idp func on login policy
* feat: add validation to loginpolicy and idp provider
* feat: add default login policy
* feat: login policy on org
* feat: login policy on org
* fix: id config handlers
* fix: id config handlers
* fix: create idp on org
* fix: create idp on org
* fix: not existing idp config
* fix: default login policy
* fix: add login policy on org
* fix: idp provider search on org
* fix: test
* fix: remove idp on org
* fix: test
* fix: test
* fix: remove admin idp
* fix: logo src as byte
* fix: migration
* fix: tests
* Update internal/iam/repository/eventsourcing/iam.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/org/repository/eventsourcing/org_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: pr comments
* fix: tests
* Update types.go
* fix: merge request changes
* fix: reduce optimization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: reread user mfas, preferred loginname as otp account name (#636)
* fix: reread user mfas
* fix: use preferred login name as otp account name
* fix: tests
* fix: reduce (#635)
* fix: management reduce optimization
* fix: reduce optimization
* fix: reduce optimization
* fix: merge master
* chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#627)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#624)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0 (#591)
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases)
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: auto assign issues and PR to ZTIADEL project board (#643)
* Create main.yml
* Update main.yml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(console): project grant members, update deps (#645)
* fix: searchprojectgrantmembers
* chore(deps-dev): bump @angular/cli from 10.0.6 to 10.0.7 in /console (#622)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.6 to 10.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.6...v10.0.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#626)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
* chore(deps-dev): bump @types/jasmine from 3.5.12 to 3.5.13 in /console (#623)
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.12 to 3.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 in /console (#629)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packlock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: delete main.yml (#648)
* fix: usergrant (#650)
* fix(console): mfa refresh after verification, member eventemitter (#651)
* refresh mfa
* fix: detail link from contributors
* lint
* feat: add domain verification notification (#649)
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix: translation (#647)
* fix: translation
* fix: translation
* fix: translation
* fix: remove unused code
* fix: log err
* fix: migration numbers (#652)
* chore: issue / feature templates (#642)
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* feat: global org read (#657)
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* refactor: protos
* fix(management): key expiration date
* fix: check if user is human
* fix: marshal key details
* fix: correct generate login names
* fix: logid
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
* fix: naming
* refactor: findings
* fix: username
* fix: mfa upper case
* fix: tests
* fix: add translations
* reactivatemyorg req typeö
* fix: projectType for console
* fix: user changes
* fix: translate events
* fix: event type translation
* fix: remove unused types
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 15:48:01 +00:00
"/users/me/sessions" : {
"get" : {
"summary" : "Authorization" ,
"operationId" : "GetMyUserSessions" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"$ref" : "#/definitions/v1UserSessionViews"
}
}
} ,
"tags" : [
"AuthService"
]
}
} ,
2020-08-27 15:18:23 +00:00
"/users/me/username" : {
"put" : {
"operationId" : "ChangeMyUserName" ,
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
"properties" : { }
}
}
} ,
"parameters" : [
{
"name" : "body" ,
"in" : "body" ,
"required" : true ,
"schema" : {
"$ref" : "#/definitions/v1ChangeUserNameRequest"
}
}
] ,
"tags" : [
"AuthService"
]
}
} ,
2020-03-31 09:07:48 +00:00
"/validate" : {
"get" : {
"operationId" : "Validate" ,
2020-03-23 15:56:02 +00:00
"responses" : {
"200" : {
"description" : "A successful response." ,
"schema" : {
2020-08-05 16:32:25 +00:00
"type" : "object"
2020-03-23 15:56:02 +00:00
}
}
} ,
"tags" : [
"AuthService"
]
}
2020-03-31 09:07:48 +00:00
}
} ,
"definitions" : {
"protobufNullValue" : {
"type" : "string" ,
"enum" : [
"NULL_VALUE"
] ,
"default" : "NULL_VALUE" ,
"description" : "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value."
} ,
2020-07-01 05:18:05 +00:00
"v1Change" : {
2020-06-19 13:33:54 +00:00
"type" : "object" ,
"properties" : {
2020-07-01 05:18:05 +00:00
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"event_type" : {
2020-07-08 07:48:11 +00:00
"$ref" : "#/definitions/v1LocalizedMessage"
2020-07-01 05:18:05 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"editor_id" : {
"type" : "string"
} ,
"editor" : {
"type" : "string"
} ,
"data" : {
2020-08-05 16:32:25 +00:00
"type" : "object"
2020-06-19 13:33:54 +00:00
}
2020-07-01 05:18:05 +00:00
}
2020-06-19 13:33:54 +00:00
} ,
2020-08-27 15:18:23 +00:00
"v1ChangeUserNameRequest" : {
"type" : "object" ,
"properties" : {
"user_name" : {
"type" : "string"
}
}
} ,
2020-07-01 05:18:05 +00:00
"v1Changes" : {
2020-06-19 13:33:54 +00:00
"type" : "object" ,
"properties" : {
2020-07-01 05:18:05 +00:00
"changes" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1Change"
}
2020-06-19 13:33:54 +00:00
} ,
2020-07-01 05:18:05 +00:00
"offset" : {
2020-06-19 13:33:54 +00:00
"type" : "string" ,
2020-07-01 05:18:05 +00:00
"format" : "uint64"
2020-06-19 13:33:54 +00:00
} ,
2020-07-01 05:18:05 +00:00
"limit" : {
"type" : "string" ,
"format" : "uint64"
2020-06-19 13:33:54 +00:00
}
2020-07-01 05:18:05 +00:00
}
2020-06-19 13:33:54 +00:00
} ,
2020-03-31 09:07:48 +00:00
"v1Gender" : {
"type" : "string" ,
"enum" : [
"GENDER_UNSPECIFIED" ,
"GENDER_FEMALE" ,
"GENDER_MALE" ,
"GENDER_DIVERSE"
] ,
"default" : "GENDER_UNSPECIFIED"
2020-03-23 15:56:02 +00:00
} ,
feat: split users into human and machine (#470)
* feat(management): service accounts
* chore: current go version
* init
* refactor: apis
* feat(internal): start impl of service account
* chore: start impl of machine/human users
* code compiles
* fix: tests
* fix: tests
* fix: add new event types to switches
* chore: add cases to event types
* fix(management): definitive proto messages
* fix: machine/human
* fix: add missing tables as todos
* fix: remove unused permissions
* fix: refactoring
* fix: refactor
* fix: human registered
* fix: user id
* fix: logid
* fix: proto remove //equal
* chore(management): remove no comment
* fix: human mfas
* fix: user subobjects
* chore: rename existing to better name
* fix: username in user (#634)
* fix: username in user
* fix: username
* fix remove unused code
* fix add validations
* fix: use new user in all apis
* fix: regexp for username in api
* fix: fill user data for human and machine (#638)
* fix: fill Display name grant/member handlers
fix: add description to grant/member objects in api
fix: check if user is human in login
* fix: remove description from member and grant
* chore: remove todos
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix partial authconfig prompt, domain c perm
* membership read check
* contributor refresh trigger, observe org write
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* user permissions, project deactivate
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* allow user grants for project.write
* management service
* fix mgmt service
* feat: Machine keys (#655)
* fix: memberships (#633)
* feat: add iam members to memberships
* fix: search project grants
* fix: rename
* feat: idp and login policy configurations (#619)
* feat: oidc config
* fix: oidc configurations
* feat: oidc idp config
* feat: add oidc config test
* fix: tests
* fix: tests
* feat: translate new events
* feat: idp eventstore
* feat: idp eventstore
* fix: tests
* feat: command side idp
* feat: query side idp
* feat: idp config on org
* fix: tests
* feat: authz idp on org
* feat: org idps
* feat: login policy
* feat: login policy
* feat: login policy
* feat: add idp func on login policy
* feat: add validation to loginpolicy and idp provider
* feat: add default login policy
* feat: login policy on org
* feat: login policy on org
* fix: id config handlers
* fix: id config handlers
* fix: create idp on org
* fix: create idp on org
* fix: not existing idp config
* fix: default login policy
* fix: add login policy on org
* fix: idp provider search on org
* fix: test
* fix: remove idp on org
* fix: test
* fix: test
* fix: remove admin idp
* fix: logo src as byte
* fix: migration
* fix: tests
* Update internal/iam/repository/eventsourcing/iam.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/org/repository/eventsourcing/org_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: pr comments
* fix: tests
* Update types.go
* fix: merge request changes
* fix: reduce optimization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: reread user mfas, preferred loginname as otp account name (#636)
* fix: reread user mfas
* fix: use preferred login name as otp account name
* fix: tests
* fix: reduce (#635)
* fix: management reduce optimization
* fix: reduce optimization
* fix: reduce optimization
* fix: merge master
* chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#627)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#624)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0 (#591)
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases)
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: auto assign issues and PR to ZTIADEL project board (#643)
* Create main.yml
* Update main.yml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(console): project grant members, update deps (#645)
* fix: searchprojectgrantmembers
* chore(deps-dev): bump @angular/cli from 10.0.6 to 10.0.7 in /console (#622)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.6 to 10.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.6...v10.0.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#626)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
* chore(deps-dev): bump @types/jasmine from 3.5.12 to 3.5.13 in /console (#623)
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.12 to 3.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 in /console (#629)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packlock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: delete main.yml (#648)
* fix: usergrant (#650)
* fix(console): mfa refresh after verification, member eventemitter (#651)
* refresh mfa
* fix: detail link from contributors
* lint
* feat: add domain verification notification (#649)
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix: translation (#647)
* fix: translation
* fix: translation
* fix: translation
* fix: remove unused code
* fix: log err
* fix: migration numbers (#652)
* chore: issue / feature templates (#642)
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* feat: global org read (#657)
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* refactor: protos
* fix(management): key expiration date
* fix: check if user is human
* fix: marshal key details
* fix: correct generate login names
* fix: logid
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
* fix: naming
* refactor: findings
* fix: username
* fix: mfa upper case
* fix: tests
* fix: add translations
* reactivatemyorg req typeö
* fix: projectType for console
* fix: user changes
* fix: translate events
* fix: event type translation
* fix: remove unused types
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 15:48:01 +00:00
"v1HumanView" : {
"type" : "object" ,
"properties" : {
"password_changed" : {
"type" : "string" ,
"format" : "date-time"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"email" : {
"type" : "string"
} ,
"is_email_verified" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
}
}
} ,
2020-07-08 07:48:11 +00:00
"v1LocalizedMessage" : {
"type" : "object" ,
"properties" : {
"key" : {
"type" : "string"
} ,
"localized_message" : {
"type" : "string"
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1MFAState" : {
"type" : "string" ,
"enum" : [
"MFASTATE_UNSPECIFIED" ,
"MFASTATE_NOT_READY" ,
"MFASTATE_READY" ,
"MFASTATE_REMOVED"
] ,
"default" : "MFASTATE_UNSPECIFIED"
} ,
feat: split users into human and machine (#470)
* feat(management): service accounts
* chore: current go version
* init
* refactor: apis
* feat(internal): start impl of service account
* chore: start impl of machine/human users
* code compiles
* fix: tests
* fix: tests
* fix: add new event types to switches
* chore: add cases to event types
* fix(management): definitive proto messages
* fix: machine/human
* fix: add missing tables as todos
* fix: remove unused permissions
* fix: refactoring
* fix: refactor
* fix: human registered
* fix: user id
* fix: logid
* fix: proto remove //equal
* chore(management): remove no comment
* fix: human mfas
* fix: user subobjects
* chore: rename existing to better name
* fix: username in user (#634)
* fix: username in user
* fix: username
* fix remove unused code
* fix add validations
* fix: use new user in all apis
* fix: regexp for username in api
* fix: fill user data for human and machine (#638)
* fix: fill Display name grant/member handlers
fix: add description to grant/member objects in api
fix: check if user is human in login
* fix: remove description from member and grant
* chore: remove todos
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix partial authconfig prompt, domain c perm
* membership read check
* contributor refresh trigger, observe org write
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* user permissions, project deactivate
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* allow user grants for project.write
* management service
* fix mgmt service
* feat: Machine keys (#655)
* fix: memberships (#633)
* feat: add iam members to memberships
* fix: search project grants
* fix: rename
* feat: idp and login policy configurations (#619)
* feat: oidc config
* fix: oidc configurations
* feat: oidc idp config
* feat: add oidc config test
* fix: tests
* fix: tests
* feat: translate new events
* feat: idp eventstore
* feat: idp eventstore
* fix: tests
* feat: command side idp
* feat: query side idp
* feat: idp config on org
* fix: tests
* feat: authz idp on org
* feat: org idps
* feat: login policy
* feat: login policy
* feat: login policy
* feat: add idp func on login policy
* feat: add validation to loginpolicy and idp provider
* feat: add default login policy
* feat: login policy on org
* feat: login policy on org
* fix: id config handlers
* fix: id config handlers
* fix: create idp on org
* fix: create idp on org
* fix: not existing idp config
* fix: default login policy
* fix: add login policy on org
* fix: idp provider search on org
* fix: test
* fix: remove idp on org
* fix: test
* fix: test
* fix: remove admin idp
* fix: logo src as byte
* fix: migration
* fix: tests
* Update internal/iam/repository/eventsourcing/iam.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/org/repository/eventsourcing/org_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: pr comments
* fix: tests
* Update types.go
* fix: merge request changes
* fix: reduce optimization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: reread user mfas, preferred loginname as otp account name (#636)
* fix: reread user mfas
* fix: use preferred login name as otp account name
* fix: tests
* fix: reduce (#635)
* fix: management reduce optimization
* fix: reduce optimization
* fix: reduce optimization
* fix: merge master
* chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#627)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#624)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0 (#591)
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases)
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: auto assign issues and PR to ZTIADEL project board (#643)
* Create main.yml
* Update main.yml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(console): project grant members, update deps (#645)
* fix: searchprojectgrantmembers
* chore(deps-dev): bump @angular/cli from 10.0.6 to 10.0.7 in /console (#622)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.6 to 10.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.6...v10.0.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#626)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
* chore(deps-dev): bump @types/jasmine from 3.5.12 to 3.5.13 in /console (#623)
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.12 to 3.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 in /console (#629)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packlock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: delete main.yml (#648)
* fix: usergrant (#650)
* fix(console): mfa refresh after verification, member eventemitter (#651)
* refresh mfa
* fix: detail link from contributors
* lint
* feat: add domain verification notification (#649)
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix: translation (#647)
* fix: translation
* fix: translation
* fix: translation
* fix: remove unused code
* fix: log err
* fix: migration numbers (#652)
* chore: issue / feature templates (#642)
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* feat: global org read (#657)
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* refactor: protos
* fix(management): key expiration date
* fix: check if user is human
* fix: marshal key details
* fix: correct generate login names
* fix: logid
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
* fix: naming
* refactor: findings
* fix: username
* fix: mfa upper case
* fix: tests
* fix: add translations
* reactivatemyorg req typeö
* fix: projectType for console
* fix: user changes
* fix: translate events
* fix: event type translation
* fix: remove unused types
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 15:48:01 +00:00
"v1MachineView" : {
"type" : "object" ,
"properties" : {
"last_key_added" : {
"type" : "string" ,
"format" : "date-time"
} ,
"name" : {
"type" : "string"
} ,
"description" : {
"type" : "string"
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1MfaOtpResponse" : {
"type" : "object" ,
"properties" : {
"user_id" : {
"type" : "string"
} ,
"url" : {
"type" : "string"
} ,
"secret" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1MFAState"
}
}
} ,
"v1MfaType" : {
"type" : "string" ,
"enum" : [
"MFATYPE_UNSPECIFIED" ,
"MFATYPE_SMS" ,
"MFATYPE_OTP"
] ,
"default" : "MFATYPE_UNSPECIFIED"
} ,
"v1MultiFactor" : {
"type" : "object" ,
"properties" : {
"type" : {
"$ref" : "#/definitions/v1MfaType"
} ,
"state" : {
"$ref" : "#/definitions/v1MFAState"
}
}
} ,
"v1MultiFactors" : {
"type" : "object" ,
"properties" : {
"mfas" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1MultiFactor"
}
}
}
} ,
"v1MyPermissions" : {
"type" : "object" ,
2020-03-31 09:07:48 +00:00
"properties" : {
"permissions" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-03-31 09:07:48 +00:00
"v1MyProjectOrgSearchKey" : {
2020-03-23 15:56:02 +00:00
"type" : "string" ,
"enum" : [
2020-03-31 09:07:48 +00:00
"MYPROJECTORGSEARCHKEY_UNSPECIFIED" ,
"MYPROJECTORGSEARCHKEY_ORG_NAME"
2020-03-23 15:56:02 +00:00
] ,
2020-03-31 09:07:48 +00:00
"default" : "MYPROJECTORGSEARCHKEY_UNSPECIFIED"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"v1MyProjectOrgSearchQuery" : {
2020-03-23 15:56:02 +00:00
"type" : "object" ,
"properties" : {
2020-03-31 09:07:48 +00:00
"key" : {
"$ref" : "#/definitions/v1MyProjectOrgSearchKey"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"value" : {
2020-03-23 15:56:02 +00:00
"type" : "string"
}
}
} ,
2020-03-31 09:07:48 +00:00
"v1MyProjectOrgSearchRequest" : {
2020-03-23 15:56:02 +00:00
"type" : "object" ,
"properties" : {
2020-03-31 09:07:48 +00:00
"offset" : {
"type" : "string" ,
"format" : "uint64"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"limit" : {
"type" : "string" ,
"format" : "uint64"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"asc" : {
"type" : "boolean" ,
"format" : "boolean"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1MyProjectOrgSearchQuery"
}
}
}
} ,
"v1MyProjectOrgSearchResponse" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"limit" : {
"type" : "string" ,
"format" : "uint64"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"total_result" : {
"type" : "string" ,
"format" : "uint64"
2020-03-23 15:56:02 +00:00
} ,
2020-03-31 09:07:48 +00:00
"result" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1Org"
}
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-03-31 09:07:48 +00:00
"v1Org" : {
2020-03-23 15:56:02 +00:00
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
2020-03-31 09:07:48 +00:00
"name" : {
"type" : "string"
}
}
} ,
"v1PasswordChange" : {
"type" : "object" ,
"properties" : {
"old_password" : {
2020-03-23 15:56:02 +00:00
"type" : "string"
} ,
"new_password" : {
"type" : "string"
}
}
} ,
2020-07-06 13:35:20 +00:00
"v1PasswordComplexityPolicy" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"description" : {
"type" : "string"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"min_length" : {
"type" : "string" ,
"format" : "uint64"
} ,
"has_lowercase" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"has_uppercase" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"has_number" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"has_symbol" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"is_default" : {
"type" : "boolean" ,
"format" : "boolean"
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1SearchMethod" : {
"type" : "string" ,
"enum" : [
"SEARCHMETHOD_EQUALS" ,
"SEARCHMETHOD_STARTS_WITH" ,
2020-06-05 05:50:04 +00:00
"SEARCHMETHOD_CONTAINS" ,
"SEARCHMETHOD_EQUALS_IGNORE_CASE" ,
"SEARCHMETHOD_STARTS_WITH_IGNORE_CASE" ,
"SEARCHMETHOD_CONTAINS_IGNORE_CASE"
2020-03-23 15:56:02 +00:00
] ,
"default" : "SEARCHMETHOD_EQUALS"
} ,
"v1UpdateUserAddressRequest" : {
"type" : "object" ,
"properties" : {
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
}
}
} ,
"v1UpdateUserEmailRequest" : {
"type" : "object" ,
"properties" : {
"email" : {
"type" : "string"
}
}
} ,
"v1UpdateUserPhoneRequest" : {
"type" : "object" ,
"properties" : {
"phone" : {
"type" : "string"
}
}
} ,
"v1UpdateUserProfileRequest" : {
"type" : "object" ,
"properties" : {
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
}
}
} ,
"v1UserAddress" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
2020-04-07 11:23:04 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
2020-05-18 10:06:36 +00:00
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-06-17 05:25:04 +00:00
"v1UserAddressView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"country" : {
"type" : "string"
} ,
"locality" : {
"type" : "string"
} ,
"postal_code" : {
"type" : "string"
} ,
"region" : {
"type" : "string"
} ,
"street_address" : {
"type" : "string"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1UserEmail" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"isEmailVerified" : {
"type" : "boolean" ,
"format" : "boolean"
2020-04-07 11:23:04 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
2020-05-18 10:06:36 +00:00
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-06-17 05:25:04 +00:00
"v1UserEmailView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"email" : {
"type" : "string"
} ,
"isEmailVerified" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
2020-06-05 05:50:04 +00:00
"v1UserGrantSearchKey" : {
"type" : "string" ,
"enum" : [
"UserGrantSearchKey_UNKNOWN" ,
"UserGrantSearchKey_ORG_ID" ,
"UserGrantSearchKey_PROJECT_ID"
] ,
"default" : "UserGrantSearchKey_UNKNOWN"
} ,
"v1UserGrantSearchQuery" : {
"type" : "object" ,
"properties" : {
"key" : {
"$ref" : "#/definitions/v1UserGrantSearchKey"
} ,
"method" : {
"$ref" : "#/definitions/v1SearchMethod"
} ,
"value" : {
"type" : "string"
}
}
} ,
"v1UserGrantSearchRequest" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"sorting_column" : {
"$ref" : "#/definitions/v1UserGrantSearchKey"
} ,
"asc" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"queries" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserGrantSearchQuery"
}
}
}
} ,
"v1UserGrantSearchResponse" : {
"type" : "object" ,
"properties" : {
"offset" : {
"type" : "string" ,
"format" : "uint64"
} ,
"limit" : {
"type" : "string" ,
"format" : "uint64"
} ,
"total_result" : {
"type" : "string" ,
"format" : "uint64"
} ,
"result" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserGrantView"
}
2020-07-15 11:24:36 +00:00
} ,
"processed_sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"view_timestamp" : {
"type" : "string" ,
"format" : "date-time"
2020-06-05 05:50:04 +00:00
}
}
} ,
"v1UserGrantView" : {
"type" : "object" ,
"properties" : {
"OrgId" : {
"type" : "string"
} ,
"ProjectId" : {
"type" : "string"
} ,
"UserId" : {
"type" : "string"
} ,
"Roles" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"OrgName" : {
"type" : "string"
2020-07-09 13:14:01 +00:00
} ,
"GrantId" : {
"type" : "string"
2020-06-05 05:50:04 +00:00
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1UserPhone" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
"type" : "boolean" ,
"format" : "boolean"
2020-04-07 11:23:04 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
2020-05-18 10:06:36 +00:00
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-06-17 05:25:04 +00:00
"v1UserPhoneView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"phone" : {
"type" : "string"
} ,
"is_phone_verified" : {
"type" : "boolean" ,
"format" : "boolean"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1UserProfile" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
2020-04-07 11:23:04 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
2020-05-18 10:06:36 +00:00
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
2020-03-23 15:56:02 +00:00
}
}
} ,
2020-06-17 05:25:04 +00:00
"v1UserProfileView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"first_name" : {
"type" : "string"
} ,
"last_name" : {
"type" : "string"
} ,
"nick_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
} ,
"preferred_language" : {
"type" : "string"
} ,
"gender" : {
"$ref" : "#/definitions/v1Gender"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"login_names" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"preferred_login_name" : {
"type" : "string"
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1UserSessionState" : {
"type" : "string" ,
"enum" : [
"USERSESSIONSTATE_UNSPECIFIED" ,
"USERSESSIONSTATE_ACTIVE" ,
"USERSESSIONSTATE_TERMINATED"
] ,
"default" : "USERSESSIONSTATE_UNSPECIFIED"
} ,
"v1UserSessionView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"agent_id" : {
"type" : "string"
} ,
"auth_state" : {
"$ref" : "#/definitions/v1UserSessionState"
} ,
"user_id" : {
"type" : "string"
} ,
"user_name" : {
"type" : "string"
2020-04-07 11:23:04 +00:00
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
2020-06-17 14:43:53 +00:00
} ,
"login_name" : {
"type" : "string"
} ,
"display_name" : {
"type" : "string"
2020-03-23 15:56:02 +00:00
}
}
} ,
"v1UserSessionViews" : {
"type" : "object" ,
"properties" : {
"user_sessions" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/v1UserSessionView"
}
}
}
} ,
2020-06-17 14:43:53 +00:00
"v1UserState" : {
"type" : "string" ,
"enum" : [
"USERSTATE_UNSPECIFIED" ,
"USERSTATE_ACTIVE" ,
"USERSTATE_INACTIVE" ,
"USERSTATE_DELETED" ,
"USERSTATE_LOCKED" ,
"USERSTATE_SUSPEND" ,
"USERSTATE_INITIAL"
] ,
"default" : "USERSTATE_UNSPECIFIED"
} ,
"v1UserView" : {
"type" : "object" ,
"properties" : {
"id" : {
"type" : "string"
} ,
"state" : {
"$ref" : "#/definitions/v1UserState"
} ,
"creation_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"change_date" : {
"type" : "string" ,
"format" : "date-time"
} ,
"sequence" : {
"type" : "string" ,
"format" : "uint64"
} ,
"login_names" : {
"type" : "array" ,
"items" : {
"type" : "string"
}
} ,
"preferred_login_name" : {
"type" : "string"
feat: split users into human and machine (#470)
* feat(management): service accounts
* chore: current go version
* init
* refactor: apis
* feat(internal): start impl of service account
* chore: start impl of machine/human users
* code compiles
* fix: tests
* fix: tests
* fix: add new event types to switches
* chore: add cases to event types
* fix(management): definitive proto messages
* fix: machine/human
* fix: add missing tables as todos
* fix: remove unused permissions
* fix: refactoring
* fix: refactor
* fix: human registered
* fix: user id
* fix: logid
* fix: proto remove //equal
* chore(management): remove no comment
* fix: human mfas
* fix: user subobjects
* chore: rename existing to better name
* fix: username in user (#634)
* fix: username in user
* fix: username
* fix remove unused code
* fix add validations
* fix: use new user in all apis
* fix: regexp for username in api
* fix: fill user data for human and machine (#638)
* fix: fill Display name grant/member handlers
fix: add description to grant/member objects in api
fix: check if user is human in login
* fix: remove description from member and grant
* chore: remove todos
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix partial authconfig prompt, domain c perm
* membership read check
* contributor refresh trigger, observe org write
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* user permissions, project deactivate
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* allow user grants for project.write
* management service
* fix mgmt service
* feat: Machine keys (#655)
* fix: memberships (#633)
* feat: add iam members to memberships
* fix: search project grants
* fix: rename
* feat: idp and login policy configurations (#619)
* feat: oidc config
* fix: oidc configurations
* feat: oidc idp config
* feat: add oidc config test
* fix: tests
* fix: tests
* feat: translate new events
* feat: idp eventstore
* feat: idp eventstore
* fix: tests
* feat: command side idp
* feat: query side idp
* feat: idp config on org
* fix: tests
* feat: authz idp on org
* feat: org idps
* feat: login policy
* feat: login policy
* feat: login policy
* feat: add idp func on login policy
* feat: add validation to loginpolicy and idp provider
* feat: add default login policy
* feat: login policy on org
* feat: login policy on org
* fix: id config handlers
* fix: id config handlers
* fix: create idp on org
* fix: create idp on org
* fix: not existing idp config
* fix: default login policy
* fix: add login policy on org
* fix: idp provider search on org
* fix: test
* fix: remove idp on org
* fix: test
* fix: test
* fix: remove admin idp
* fix: logo src as byte
* fix: migration
* fix: tests
* Update internal/iam/repository/eventsourcing/iam.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/iam_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/org/repository/eventsourcing/org_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* Update internal/iam/repository/eventsourcing/model/login_policy_test.go
Co-authored-by: Silvan <silvan.reusser@gmail.com>
* fix: pr comments
* fix: tests
* Update types.go
* fix: merge request changes
* fix: reduce optimization
Co-authored-by: Silvan <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: reread user mfas, preferred loginname as otp account name (#636)
* fix: reread user mfas
* fix: use preferred login name as otp account name
* fix: tests
* fix: reduce (#635)
* fix: management reduce optimization
* fix: reduce optimization
* fix: reduce optimization
* fix: merge master
* chore(deps): bump github.com/gorilla/schema from 1.1.0 to 1.2.0 (#627)
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/gorilla/mux from 1.7.4 to 1.8.0 (#624)
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases)
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump github.com/DATA-DOG/go-sqlmock from 1.4.1 to 1.5.0 (#591)
Bumps [github.com/DATA-DOG/go-sqlmock](https://github.com/DATA-DOG/go-sqlmock) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/DATA-DOG/go-sqlmock/releases)
- [Commits](https://github.com/DATA-DOG/go-sqlmock/compare/v1.4.1...v1.5.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: auto assign issues and PR to ZTIADEL project board (#643)
* Create main.yml
* Update main.yml
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix(console): project grant members, update deps (#645)
* fix: searchprojectgrantmembers
* chore(deps-dev): bump @angular/cli from 10.0.6 to 10.0.7 in /console (#622)
Bumps [@angular/cli](https://github.com/angular/angular-cli) from 10.0.6 to 10.0.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/compare/v10.0.6...v10.0.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump @angular-devkit/build-angular in /console (#626)
Bumps [@angular-devkit/build-angular](https://github.com/angular/angular-cli) from 0.1000.6 to 0.1000.7.
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](https://github.com/angular/angular-cli/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
* chore(deps-dev): bump @types/jasmine from 3.5.12 to 3.5.13 in /console (#623)
Bumps [@types/jasmine](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jasmine) from 3.5.12 to 3.5.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jasmine)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps-dev): bump ts-node from 8.10.2 to 9.0.0 in /console (#629)
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 8.10.2 to 9.0.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Commits](https://github.com/TypeStrong/ts-node/compare/v8.10.2...v9.0.0)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update packlock
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: delete main.yml (#648)
* fix: usergrant (#650)
* fix(console): mfa refresh after verification, member eventemitter (#651)
* refresh mfa
* fix: detail link from contributors
* lint
* feat: add domain verification notification (#649)
* fix: dont (re)generate client secret with auth type none
* fix(cors): allow Origin from request
* feat: add origin allow list and fix some core issues
* rename migration
* fix UserIDsByDomain
* feat: send email to users after domain claim
* username
* check origin on userinfo
* update oidc pkg
* fix: add migration 1.6
* change username
* change username
* remove unique email aggregate
* change username in mgmt
* search global user by login name
* fix test
* change user search in angular
* fix tests
* merge
* userview in angular
* fix merge
* Update pkg/grpc/management/proto/management.proto
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* Update internal/notification/static/i18n/de.yaml
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* fix: translation (#647)
* fix: translation
* fix: translation
* fix: translation
* fix: remove unused code
* fix: log err
* fix: migration numbers (#652)
* chore: issue / feature templates (#642)
* feat: machine keys
* fix: implement missing parts
* feat: machine key management view
* fix: remove keys from machine view
* feat: global org read (#657)
* fix: set default expiration date
* fix: get key by ids
* feat: add machine keys in proto
* feat: machine keys
* fix: add migration
* fix: mig
* fix: correct method name
* feat: user search
* feat: user search
* fix: log ids
* fix: migrations
* fix(console): machine build (#660)
* frontend 1
* fix html bindings
* trailing comma
* fix(console): human view (#661)
* fix search user view, user detail form
* rm log
* feat(console): user services list and create (#663)
* fix search user view, user detail form
* rm log
* machine list
* generic table component
* create user service
* proove table for undefined values
* tmp disable user link if machine
* lint
* lint styles
* user table lint
* Update console/src/assets/i18n/de.json
Co-authored-by: Florian Forster <florian@caos.ch>
* feat(console): service user detail view, keys cr_d, fix search user autocomplete (#664)
* service users for sidenav, routing
* i18n
* back routes
* machine detail form
* update machine detail, fix svc user grants
* keys table
* add key dialog, timestamp creation
* check permission on create, delete, fix selection
* lint ts, scss
* Update console/src/assets/i18n/de.json
* Apply suggestions from code review
Co-authored-by: Florian Forster <florian@caos.ch>
* refactor: protos
* fix(management): key expiration date
* fix: check if user is human
* fix: marshal key details
* fix: correct generate login names
* fix: logid
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Florian Forster <florian@caos.ch>
* fix: naming
* refactor: findings
* fix: username
* fix: mfa upper case
* fix: tests
* fix: add translations
* reactivatemyorg req typeö
* fix: projectType for console
* fix: user changes
* fix: translate events
* fix: event type translation
* fix: remove unused types
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Florian Forster <florian@caos.ch>
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-31 15:48:01 +00:00
} ,
"last_login" : {
"type" : "string" ,
"format" : "date-time"
} ,
"resource_owner" : {
"type" : "string"
} ,
"user_name" : {
"type" : "string"
} ,
"human" : {
"$ref" : "#/definitions/v1HumanView"
} ,
"machine" : {
"$ref" : "#/definitions/v1MachineView"
2020-06-17 14:43:53 +00:00
}
}
} ,
2020-03-23 15:56:02 +00:00
"v1VerifyMfaOtp" : {
"type" : "object" ,
"properties" : {
"code" : {
"type" : "string"
}
}
} ,
"v1VerifyMyUserEmailRequest" : {
"type" : "object" ,
"properties" : {
"code" : {
"type" : "string"
}
}
} ,
"v1VerifyUserPhoneRequest" : {
"type" : "object" ,
"properties" : {
"code" : {
"type" : "string"
}
}
}
}
}