1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[SM-409] Project Access Policies (#4472)

* Initial working multi select

* Create project access selector component

* Refactor to shared components for access policies

* Refactor access policies table

* Initial working create & update access policies

* Add dynamic multi-select + DRY refactor

* FIGMA updates

* Fix table and refactor access-policy service

* Code review updates

* Fix disable/loading logic for selector

* Don't run onchange for creation

* Migrate to new group service

* simplify async action

* Refactor access-policies

Co-authored-by: Will Martin <willmartian@users.noreply.github.com>

* Refactor access-selector

* Add using potential grantee endpoints.

* refactor to use observables

* combine access-selector and access-policies component

* lift dynamic i18n out of template

* use strict equality

* fix multiselect refresh

* change grantees to function

* Fix multiple HTTP calls

* don't broadcast on AP update

* Code review updates

* Use refactored potential-grantees endpoint

* potential grantees refactor v2

---------

Co-authored-by: Will Martin <willmartian@users.noreply.github.com>
Co-authored-by: William Martin <contact@willmartian.com>
This commit is contained in:
Thomas Avery
2023-02-06 11:28:51 -06:00
committed by GitHub
parent bbc709d74e
commit 4ffe1c7e57
23 changed files with 939 additions and 3 deletions

View File

@@ -5914,7 +5914,7 @@
"message": "Expires"
},
"canRead": {
"message": "Can Read"
"message": "Can read"
},
"accessTokensNoItemsTitle": {
"message": "No access tokens to show"
@@ -6141,6 +6141,33 @@
"uploadLicense": {
"message": "Upload license"
},
"projectPeopleDescription": {
"message": "Grant groups or people access to this project."
},
"projectPeopleSelectHint": {
"message": "Type or select people or groups"
},
"projectServiceAccountsDescription": {
"message": "Grant service accounts access to this project."
},
"projectServiceAccountsSelectHint": {
"message": "Type or select service accounts"
},
"projectEmptyPeopleAccessPolicies": {
"message": "Add people or groups to start collaborating"
},
"projectEmptyServiceAccountAccessPolicies": {
"message": "Add service accounts to grant access"
},
"canWrite": {
"message": "Can write"
},
"canReadWrite": {
"message": "Can read, write"
},
"groupSlashUser": {
"message": "Group/User"
},
"lowKdfIterations": {
"message": "Low KDF Iterations"
},