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": { "serviceAccountEmptyProjectAccesspolicies": {
"message": "Add projects to grant access" "message": "Add projects to grant access"
}, },
"canWrite": {
"message": "Can write"
},
"canReadWrite": { "canReadWrite": {
"message": "Can read, write" "message": "Can read, write"
}, },

View File

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

View File

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