Fabi
c65331df1a
feat: new projects ( #1207 )
...
* fix: project events
* fix: project events
* fix: project events
* fix: eventmapper
* fix: project commands
* fix: project role commands
* fix: project command side
* fix: oidc application
* fix: oidc application
* fix: reduce
* fix: reduce
* fix: project member
* fix: project grant command side
* fix: application command side
* fix: project grant member remove
* Update internal/v2/command/project.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/project.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/project_application.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/project_application.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/project_application.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: oidc application string pw
* fix: project events
* fix: project grant member
* feat: change application to interface
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-01-28 06:35:26 +01:00
Fabi
dfcb96d6a3
feat: user grants command side ( #1191 )
...
* fix: user grant command side
* fix: user grant command side
* fix: user grant command side check permissions
* fix: unique constraint on user grants
* fix: add usergrant
* fix: add usergrant
* fix: add usergrant
* fix: user grant remove
* Update internal/v2/command/auth_checks.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/auth_checks.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/project.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/user_grant.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: project events
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-01-22 13:31:52 +01:00
Fabi
28bfe72930
feat: uniqueness ( #1190 )
...
* feat: uniqueness on events
* fix: some tests
* fix: add unique username
* fix: nice error message
* fix: add unique test
* fix: add unique test
* fix: add unique constraint to events
* fix: correct unique constraint on user events
* fix: remove user constraint
* fix: add unique constraints
* fix: add unique constraints
* fix: add unique constraints
* fix: unnique constraints without interface
* fix: unique idp config
* fix: unique constraint comments
* fix: unique constraints in one table
* fix: unique constraints error
* fix: fix unique constraint on create user
* fix: fix unique constraint on create project
* fix: fix unique constraint on idp configs
2021-01-21 10:49:38 +01:00
Livio Amstutz
c2e6e782a8
feat: idps ( #1188 )
...
* add setup steps
* refactoring
* omitempty
* cleanup
* begin org
* create org
* setup org
* setup org
* merge
* fixes
* fixes
* fixes
* add project
* add oidc application
* fix app creation
* add resourceOwner to writemodels
* resource owner
* cleanup
* global org, iam project and iam member in setup
* logs
* logs
* logs
* cleanup
* Update internal/v2/command/project.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* check project state
* add org domain commands
* add org status changes and member commands
* fixes
* policies
* login policy
* fix iam project event
* mapper
* label policy
* change to command
* fix
* fix
* handle change event differently and lot of fixes
* idps
* fixes
* fixes
* fixes
* changedEvent handling
* fix change events
* remove creation date
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-01-20 11:06:52 +01:00
Livio Amstutz
3eb909c4b4
feat: org and policies commands ( #1167 )
...
* add setup steps
* refactoring
* omitempty
* cleanup
* begin org
* create org
* setup org
* setup org
* merge
* fixes
* fixes
* fixes
* add project
* add oidc application
* fix app creation
* add resourceOwner to writemodels
* resource owner
* cleanup
* global org, iam project and iam member in setup
* logs
* logs
* logs
* cleanup
* Update internal/v2/command/project.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* check project state
* add org domain commands
* add org status changes and member commands
* fixes
* policies
* login policy
* fix iam project event
* mapper
* label policy
* change to command
* fix
* fix
* handle change event differently and lot of fixes
* fixes
* changedEvent handling
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-01-18 11:24:15 +01:00
Fabi
959530ddad
feat: new user auth api ( #1168 )
...
* fix: correct selectors for extended writemodel
* fix: no previous checks in eventstore
* start check previous
* feat: auth user commands
* feat: auth user commands
* feat: auth user commands
* feat: otp
* feat: corrections from pr merge
* feat: webauthn
* feat: comment old webauthn
* feat: refactor user, human, machine
* feat: webauth command side
* feat: command and query side in login
* feat: fix user writemodel append events
* fix: remove creation dates on command side
* fix: remove previous sequence
* previous sequence
* fix: external idps
* Update internal/api/grpc/management/user.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* Update internal/v2/command/user_human_email.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: pr changes
* fix: phone verification
Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-01-15 09:32:59 +01:00
Livio Amstutz
e5731b0d3b
feat: setup ( #1166 )
...
* add setup steps
* refactoring
* omitempty
* cleanup
* begin org
* create org
* setup org
* setup org
* merge
* fixes
* fixes
* fixes
* add project
* add oidc application
* fix app creation
* add resourceOwner to writemodels
* resource owner
* cleanup
* global org, iam project and iam member in setup
* logs
* logs
* logs
* cleanup
* Update internal/v2/command/project.go
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
* check project state
Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
2021-01-12 12:59:51 +01:00
Livio Amstutz
ff87264f95
feat: set up org ( #1157 )
...
* add setup steps
* refactoring
* omitempty
* cleanup
* begin org
* create org
* setup org
* setup org
* merge
* fixes
* fixes
* fixes
2021-01-08 11:33:45 +01:00
Fabi
26c8113930
feat: New event user ( #1156 )
...
* feat: change user command side
* feat: change user command side
* feat: use states on write model
* feat: command and query side in auth api
* feat: auth commands
* feat: check external idp id
* feat: user state check
* fix: error messages
* fix: is active state
2021-01-07 16:06:45 +01:00
Fabi
65a8efeb0e
feat: New user ( #1153 )
...
* fix: use pointer in events
* fix: change user requests to command side
* fix: org policy
* fix: profile
2021-01-06 11:12:56 +01:00
Livio Amstutz
61d16e4621
fix: refactor setup ( #1152 )
...
* add setup steps
* refactoring
* omitempty
* cleanup
* fixes
2021-01-06 10:47:55 +01:00
Fabi
dc56e298ae
fix: use domain models for v2 eventstore ( #1151 )
...
* fix: use domain models for v2 eventstore
* fix: user domain model
* Update internal/api/grpc/admin/login_policy_converter.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
* fix: converter
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-01-05 09:33:45 +01:00
Livio Amstutz
21ffe1b0cb
new pkg structure ( #1150 )
...
* fix: split command query side
* fix: split command query side
* fix: members in correct pkg structure
* fix: label policy in correct pkg structure
* fix: structure
* fix: structure of login policy
* fix: identityprovider structure
* fix: org iam policy structure
* fix: password age policy structure
* fix: password complexity policy structure
* fix: password lockout policy structure
* fix: idp structure
* fix: user events structure
* fix: user write model
* fix: profile email changed command
* fix: address changed command
* fix: user states
* fix: user
* fix: org structure and add human
* begin iam setup command side
* setup
* step2
* step2
* fix: add user
* step2
* isvalid
* fix: folder structure v2 business
Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
2021-01-04 14:52:13 +01:00