feat(console): user memberships, generic member create dialog, fix user autocomplete emitter (#606)

* load manager mgmtservice, user service

* add org memberships

* membership component, generic member creation

* refactor member create dialog

* project autocomplete context

* create batch managers in user component

* project context wrapper

* emit on user removal, preselect user on init

* membership avatar style, service

* auth user memberships, navigate to target

* cursor fix, avatar gen

* lint

* i18n fix

* remove role translations

* membership detail page, i18n

* fix role label i18n, after view init loader

* remove projectid from grant remove

* fix iam race condition

* refresh table ts, fix no permission project search

* change membership colors

* refresh table everywhere, replace assets, routing

* fix logo header size

* lint, fix project grant removal

* timestmp for p mem, user list, grants, p list (#615)

* npm audit

* update deps, resolve vulnerability

* fix tslint config

* update lock

* load 20 changes at once

* 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>

* membership i18n

Co-authored-by: Florian Forster <florian@caos.ch>
This commit is contained in:
Max Peintner
2020-08-24 08:48:47 +02:00
committed by GitHub
parent d49fee23bf
commit 193cfb45f6
84 changed files with 1972 additions and 2911 deletions

View File

@@ -227,6 +227,21 @@
"DEACTIVATED":"User deactivated",
"SELECTEDREACTIVATED":"Selected Users reactivated",
"SELECTEDDEACTIVATED":"Selected Users deactivated"
},
"MEMBERSHIPS": {
"TITLE":"Zitadel Manager Roles",
"DESCRIPTION":"These are all member grants of the user. You can modify them also on organisation-, project-, or iam detailpages.",
"CREATIONDATE":"Creation Date",
"CHANGEDATE":"Last Modified",
"DISPLAYNAME":"Displayname",
"REMOVE":"Remove",
"TYPE":"Type",
"TYPES":{
"0":"Unknown",
"1":"Organisation",
"2":"Project",
"3":"Granted Project"
}
}
},
"IAM": {
@@ -508,7 +523,8 @@
"PROJECTGRANTMEMBERADDED":"Grant Manager added!",
"PROJECTGRANTMEMBERCHANGED":"Grant Manager changed!",
"PROJECTGRANTMEMBERREMOVED":"Grant Manager removed!"
}
},
"ROLES":"Project Roles"
},
"APP": {
"TITLE": "Applications",
@@ -643,50 +659,17 @@
"en": "English"
},
"MEMBER":{
"ADD":"Add a manager"
},
"ROLES": {
"ORG_OWNER": "Org. Owner",
"ORG_MEMBER_VIEWER": "Org. Member Viewer",
"ORG_PROJECT_ROLE_VIEWER": "Org. Project Role Viewer",
"ORG_EDITOR":"Org. Editor",
"ORG_VIEWER":"Org. Viewer",
"ORG_MEMBER_EDITOR":"Org. Member Editor",
"ORG_PROJECT_CREATOR":"Org. Project Creator",
"ORG_PROJECT_EDITOR":"Org. Project Editor",
"ORG_PROJECT_VIEWER":"Org. Project Viewer",
"ORG_PROJECT_MEMBER_EDITOR":"Org. Project Member Editor",
"ORG_PROJECT_MEMBER_VIEWER":"Org. Project Member Viewer",
"ORG_PROJECT_ROLE_EDITOR":"Org. Project Role Editor",
"ORG_PROJECT_APP_EDITOR":"Org. Project App Editor",
"ORG_PROJECT_APP_VIEWER":"Org. Project App Viewer",
"ORG_PROJECT_GRANT_EDITOR":"Org. Project Grant Editor" ,
"ORG_PROJECT_GRANT_VIEWER":"Org. Project Grant Viewer",
"ORG_PROJECT_GRANT_MEMBER_EDITOR":"Org. Project Grant Member Editor",
"ORG_PROJECT_GRANT_MEMBER_VIEWER":"Org. Project Grant Member Viewer",
"ORG_USER_EDITOR":"Org. User Editor",
"ORG_USER_VIEWER":"Org. User Viewer",
"ORG_USER_GRANT_EDITOR":"Org. User Grant Editor",
"ORG_USER_GRANT_VIEWER":"Org. User Grant Viewer",
"ORG_POLICY_EDITOR":"Org. Policy Editor",
"ORG_POLICY_VIEWER":"Org. Policy Viewer",
"PROJECT_OWNER":"Project Owner",
"PROJECT_OWNER_VIEWER":"Project Owner Viewer",
"PROJECT_MEMBER_EDITOR":"Project Member Editor",
"PROJECT_APP_EDITOR":"Project App Editor",
"PROJECT_APP_VIEWER":"Project App Viewer",
"PROJECT_USER_GRANT_EDITOR":"Project User Grant Editor",
"PROJECT_USER_GRANT_VIEWER":"Project User Grant Viewer",
"PROJECT_ROLE_EDITOR": "Project Role Editor",
"PROJECT_MEMBER_VIEWER": "Project Member Viewer",
"PROJECT_GRANT_EDITOR":"Project Grant Editor",
"PROJECT_GRANT_VIEWER":"Project Grant Viewer",
"PROJECT_GRANT_MEMBER_EDITOR":"Project Grant Member Editor",
"PROJECT_GRANT_MEMBER_VIEWER":"Project Grant Member Viewer",
"PROJECT_GRANT_OWNER":"Project Grant Owner",
"PROJECT_GRANT_USER_GRANT_EDITOR":"Project Grant User Editor",
"PROJECT_GRANT_USER_GRANT_VIEWER":"Project Grant User Grant Viewer"
"ADD":"Add a manager",
"CREATIONTYPE":"Creation Type",
"CREATIONTYPES":{
"3":"IAM",
"2":"Organisation",
"0":"Owned Project",
"1":"Granted Project",
"4":"Project"
}
},
"ROLESLABEL":"Roles",
"GRANTS": {
"DELETE":"delete authorization",
"ADD":"create authorization",