Commit Graph

1331 Commits

Author SHA1 Message Date
Fabi
351aac22f8
feat: usergrant (#489)
* fix: search usergrants only for allowed projects

* fix: check permissions

* fix: check permissions

* fix: check permissions

* Update internal/management/repository/eventsourcing/eventstore/project.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* fix: merge request changes

* fix: variable name

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-22 14:00:29 +02:00
Max Peintner
a9f0e15e65
fix(console): cleanup contributor module, move loading state to shared module, button visibility in light theme (#504)
* refreshtable component

* project grant refresh table

* project role refresh, user grant, i18n

* lint

* auth user mfa table

* auth mfa table

* rm unused 404 page, add mgmt mfa table

* change light accent color

* add actions to mfa table

* user detail mfa table

* clear selection on refresh, bind data length

* member table

* fix padding mfa table

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* z-index, new colors

* new senf color

* create stepper

* app create stepper

* i18n

* i18n sections, header titles

* lint

* add pro mode

* main contributor component

* drop project members shared module

* project detail members

* org contributors, iam contributors

* invert card and background colors in light design

* changes card design

* lighten meta background

* account card radius

* fix imports, global user email link

* move spinner to refresh-table component

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* light background on light design

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-22 13:47:31 +02:00
Fabi
f39d3a3cc7
fix: login flow handling (#491)
* fix: login flow handling

* fix: cancel button

* fix: hover in light design

* fix: profile image width

* fix: profile image width

* fix: profile image width
2020-07-22 11:43:32 +02:00
Fabi
520cc161d7
fix: message key in error detail (#503) 2020-07-22 11:29:43 +02:00
Max Peintner
117a0d7b19
fix(console): refresh tables, auto refresh emitter, avatar colors (#487)
* refreshtable component

* project grant refresh table

* project role refresh, user grant, i18n

* lint

* auth user mfa table

* auth mfa table

* rm unused 404 page, add mgmt mfa table

* change light accent color

* add actions to mfa table

* user detail mfa table

* clear selection on refresh, bind data length

* member table

* fix padding mfa table

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* z-index, new colors

* new senf color

Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-20 15:23:29 +02:00
Livio Amstutz
933193855a
feat(login): show profile (#485)
* profile data

* fix scripts

* fix image paths

* feat: show profile (with image) when possible

* fix profile image width
2020-07-20 10:00:29 +02:00
Max Peintner
4f3ccbfad0
fix(console): cleanup structure, role guard, paginated requests, cleanup policies, toast i18n, view timestamp, preloading strategy, maennchenfindings, fix passwordchange (#483)
* routes, move grid to list comopnent

* rename app list component, move to project sub

* add owned-project-detail child module

* seperate pipes

* set password validators only if needed

* create org initialize without pwd

* no caps

* self xss message

* fix user table

* fix project member paginator

* fix project members pagination, user grant pag

* move project grants, fix imports

* fix owned project detail imports

* use pipe and directives

* ng content bindings, rem custom schemas

* i18n, fix error toast parameter

* toast i18n

* side background

* fix: sequence, add timestamp

* audit

* fix metanav background

* org domain label

* cleanup policy component

* shorten user grant roles, mk cols visible as bind

* move user components, show otp only if available

* preload modules

* fix password change

* fix org create buttons

* class css
2020-07-16 15:13:36 +02:00
Fabi
2a3ecc0c6a
feat: check passwordpolicy on login (#477)
* fix: password complexity policy

* feat: check password policy

* feat: check password policy

* fix: password policy on password change

* fix: remove double policy check

* feat: check pw policy on register

* feat: check pw policy on init

* fix: hover on secondary buttons

* fix: use data set instead of hidden inputs

* fix: disabled button

* fix: en login

* fix: read policy

* feat: check if org exists

* multiple checks

* feat: validate all forms

* fix: check all forms

* fix: remove unused err

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2020-07-16 14:26:08 +02:00
Fabi
c34f6b1074
fix: check if org id not empty before checking if it exists (#482) 2020-07-16 13:51:37 +02:00
Fabi
5e00f1c9db
feat: check if org exists (#480)
* feat: check if org exists

* feat: check if org exists

* Update internal/authz/repository/eventsourcing/eventstore/token_verifier.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* fix: err handling

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-16 13:27:36 +02:00
Fabi
423b86a03b
feat: sequence and timestamp on searchrequests (#468)
* feat: reread events

* feat: sequence and timestamo on search requests

* feat: sequence and timestamo on search requests

* fix: better naming

* fix: log errors

* fix: read sequence before search request
2020-07-15 13:24:36 +02:00
Livio Amstutz
87155f8c9e
chore(login): html cleanup (#473) 2020-07-15 13:22:45 +02:00
Max Peintner
30282acb42
fix(console): initialize org owner with or without password (#471)
* set password validators only if needed

* create org initialize without pwd

* no caps

* self xss message
2020-07-15 09:04:45 +02:00
Livio Amstutz
c051fa8ae1
fix: ignore empty displayname in changes (#472) 2020-07-15 09:01:06 +02:00
Silvan
56ed2940e9
fix: oidc translations (#439)
* fix: oidc translations

* fix: only one domain in org

* fix: translation in english

* Update en.yaml
2020-07-14 16:14:06 +02:00
Fabi
7b652651fc
feat: get default complexity policy (#399)
* feat: get default complexity policy

* fix: regenerate proto files
2020-07-14 07:11:11 +02:00
Max Peintner
8519243669
fix: rerun #450, cleanup policies (#451) 2020-07-14 07:08:04 +02:00
Silvan
cc7556aaa0
fix(sql): remove ssl=true (#461) 2020-07-13 17:34:45 +02:00
Max Peintner
547d55a2c8
remove guard (#450) 2020-07-13 14:14:02 +02:00
Max Peintner
b628baeb1a
feat(console): pinned org list, project grant detail view, state change, i18n, domain dialog, policy refactor, theme fixes, refactor user and projects (#449)
* pinned organisations

* project grant detail, state update, user-list pad

* rm entry components

* members nav, i18n, disable actions on non active

* add org domain dialog

* mv password policy rm to detail view

* prefix pinned orgs for userid, fix collapsed pad

* fix app back navigation

* rem pwd required validator

* fix org item overflow

* routing

* move users modules to users page

* reorganize projects

* remove child init of translate

* hide same preferred loginname
2020-07-13 13:38:49 +02:00
Livio Amstutz
d8eef34a37
fix: send csrf on root path (#444) 2020-07-10 13:09:30 +02:00
Livio Amstutz
0c442cbb3a
fix: eventQuery for project grant members (#445) 2020-07-10 13:08:01 +02:00
Livio Amstutz
c0f811d0bd
fix: missing password config (#443) 2020-07-10 08:45:13 +02:00
Livio Amstutz
870226a481
fix: changes in auth (#442) 2020-07-09 18:47:54 +02:00
Max Peintner
e5172bad70
fix(console): toast message (#440)
* fix: toast message

* i18n fully

* fix toast payload
2020-07-09 18:47:01 +02:00
Fabi
1b59a52f26
fix: return my org on zitadel permission (#441) 2020-07-09 18:39:10 +02:00
Max Peintner
4fa68ae2ee
fix(console): granted project member actions (create, update, delete) (#438)
* project grant members abst

* ref name from both project types
2020-07-09 18:02:05 +02:00
Livio Amstutz
da113ffb95
fix: redirect to register (#437) 2020-07-09 18:01:58 +02:00
Fabi
8f1c31f37d
fix: remove project grant member from view (#436) 2020-07-09 17:56:37 +02:00
Livio Amstutz
bc5f16d5b4
fix: render login (#432) 2020-07-09 17:44:35 +02:00
Fabi
5add7eae6d
fix: rolecascade (#434)
* fix: project role delete

* fix: project role delete
2020-07-09 17:28:14 +02:00
Silvan
66376f9213
fix: translate panic for changes (#433)
* fix: refactor object-changes

* fix: check if changes are nil
2020-07-09 17:16:47 +02:00
Fabi
cde6231164
fix: project role delete (#431) 2020-07-09 16:47:48 +02:00
Christian Jakob
f664ad7f88
added flow for loggin (#429) 2020-07-09 16:34:56 +02:00
Silvan
a1e8385714
fix: refactor object-changes (#430) 2020-07-09 16:32:49 +02:00
Fabi
49a3339425
fix: project role (#428) 2020-07-09 16:02:00 +02:00
Livio Amstutz
6128c0c672
fix: response type mapping (#426)
* fix: return authorizations on userinfo

* fix: response type mapping

* fix tests

* fix angular

* regenerate mgmt proto

* enable login link again
2020-07-09 15:52:20 +02:00
Max Peintner
0b012f2fa2
fix(console): general fixes, project grants for owned and granted context (#425)
* update and delete project grants

* fix: user grant id (#421)

* fix: verboser logging on sql err (#412)

* fix(eventstore): improve insert statement

* fix: verbose logging on error

* fix: simplify insertEvents

* fix: project grant delete (#417)

* fix: add grant id to user grant if needed

* fix: add grant id to user grant if needed

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* fix user grant context

* lint

* role validators

* fix: usergrantid (#424)

* fix: verboser logging on sql err (#412)

* fix(eventstore): improve insert statement

* fix: verbose logging on error

* fix: simplify insertEvents

* fix: project grant delete (#417)

* fix: add grant id to user grant if needed

* fix: add grant id to user grant if needed

* fix: add bulk remove

* fix: merge

Co-authored-by: Silvan <silvan.reusser@gmail.com>

Co-authored-by: Fabi <38692350+fgerschwiler@users.noreply.github.com>
Co-authored-by: Silvan <silvan.reusser@gmail.com>
2020-07-09 15:14:01 +02:00
Silvan
cf51bbc36d
fix(translation_interceptor): check if response is nil (#423) 2020-07-09 15:02:03 +02:00
Silvan
5658f33918
feat: new tracing type none (#422) 2020-07-09 14:34:20 +02:00
Livio Amstutz
8efa697af2
fix: return authorizations on userinfo (#420) 2020-07-09 14:05:12 +02:00
Fabi
7cf13a646d
fix: project role view, remove project grants (#419) 2020-07-09 13:24:35 +02:00
Fabi
aeae04c90b
fix: project grant delete (#417) 2020-07-09 13:05:02 +02:00
Silvan
e8f3868100
fix: verboser logging on sql err (#412)
* fix(eventstore): improve insert statement

* fix: verbose logging on error

* fix: simplify insertEvents
2020-07-09 11:08:59 +02:00
Max Peintner
0721acf605
fix(console): toast login handler, show user session loginname, policy value incrementation, accessibility (#413)
* get auth policy, fix increment from 0

* seo, accessibility

* ngsw rem check for update

* organize interceptors

* toast i18n part1

* show loginname

* use primary color

* toast login handler, fix user session type

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/de.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/index.html

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

* Update console/src/assets/i18n/en.json

Co-authored-by: Florian Forster <florian@caos.ch>

Co-authored-by: Florian Forster <florian@caos.ch>
2020-07-09 10:54:55 +02:00
Silvan
fa57cc48c1
fix(eventstore): improve insert statement (#408) 2020-07-09 09:35:14 +02:00
Fabi
740bab7f59
feat: permissin denied (#411) 2020-07-09 09:31:29 +02:00
Florian Forster
c73875afbb
fix(console): i18n keys (#398)
* fix(console): json missing ,

* fix(console): change keys for i18n
2020-07-08 15:47:04 +02:00
Florian Forster
9f3654311c
fix(console): json missing , (#397) 2020-07-08 15:38:01 +02:00
Livio Amstutz
60e9695199
fix: login prefix only on dev (#396) 2020-07-08 15:22:14 +02:00