1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-23 16:38:45 +01:00

removing Write only (#4884)

This commit is contained in:
cd-bitwarden 2023-02-28 18:15:39 -05:00 committed by GitHub
parent 1e7d83c0c8
commit abbfb0696f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 9 deletions

View File

@ -6371,9 +6371,6 @@
"serviceAccountEmptyProjectAccesspolicies": {
"message": "Add projects to grant access"
},
"canWrite": {
"message": "Can write"
},
"canReadWrite": {
"message": "Can read, write"
},

View File

@ -43,9 +43,6 @@
<option value="canRead" [selected]="row.read && row.write != true">
{{ "canRead" | i18n }}
</option>
<option value="canWrite" [selected]="row.read != true && row.write">
{{ "canWrite" | i18n }}
</option>
<option value="canReadWrite" [selected]="row.read && row.write">
{{ "canReadWrite" | i18n }}
</option>

View File

@ -125,9 +125,6 @@ export class AccessSelectorComponent implements OnInit {
if (target.value === "canRead") {
accessPolicyView.read = true;
accessPolicyView.write = false;
} else if (target.value === "canWrite") {
accessPolicyView.read = false;
accessPolicyView.write = true;
} else if (target.value === "canReadWrite") {
accessPolicyView.read = true;
accessPolicyView.write = true;