feat: allow global org users to create org and self delete (#2759)

* fix: grant PROJECT_OWNER_VIEWER_GLOBAL org.create permission

* Update authz.yaml

* feat: delete my user

* console things

* lint

* signout after deletion

* stylelint rule

* Update authz.yaml

* Update authz.yaml

* setup step

* role SELF_MANAGEMENT_GLOBAL setup

* fix: change default role on global org

* Apply suggestions from code review

Co-authored-by: Fabi <[email protected]>

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

Co-authored-by: Fabi <[email protected]>

Co-authored-by: Max Peintner <[email protected]>
Co-authored-by: Fabi <[email protected]>
This commit is contained in:
Livio Amstutz
2021-12-09 08:41:21 +00:00
committed by GitHub
co-authored by Fabi Max Peintner
parent 7ea93bd5b6
commit 43f15953c3
23 changed files with 349 additions and 62 deletions
+8 -2
View File
@@ -182,7 +182,11 @@
"STATE": "Status",
"DELETE": "Delete User",
"UNLOCK": "Unlock User",
"LOCKEDDESCRIPTION": "This user has been locked out due to exceeding the maximum login attempts and must be unlocked to be used again."
"LOCKEDDESCRIPTION": "This user has been locked out due to exceeding the maximum login attempts and must be unlocked to be used again.",
"DELETEACCOUNT": "Delete Account",
"DELETEACCOUNT_DESC": "If you perform this action, you will be logged out and will no longer have access to your account. This action is not reversible, so please continue with caution.",
"DELETEACCOUNT_BTN": "Delete Account",
"DELETEACCOUNT_SUCCESS": "Account deleted successfully!"
},
"DETAILS": {
"DATECREATED": "Created",
@@ -190,7 +194,9 @@
},
"DIALOG": {
"DELETE_TITLE": "Delete User",
"DELETE_DESCRIPTION": "You are about to permanently delete a user. Are you sure?"
"DELETE_DESCRIPTION": "You are about to permanently delete a user. Are you sure?",
"DELETE_AUTH_DESCRIPTION": "You are about to permanently delete your personal account. Are you sure?",
"DELETE_BTN": "Delete permanently"
},
"SENDEMAILDIALOG": {
"TITLE": "Send Email Notification",