1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-11 10:10:25 +01:00

[PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections' (#10904)

* [PM-11667] Remove all code related to the outdated custom permissions 'Edit/Delete Assigned Collections'

* Revert change made to data model in state migration
This commit is contained in:
Rui Tomé 2024-09-17 14:22:17 +01:00 committed by GitHub
parent 171d798c52
commit c05b6eb116
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 12 deletions

View File

@ -4861,12 +4861,6 @@
"deleteAnyCollection": { "deleteAnyCollection": {
"message": "Delete any collection" "message": "Delete any collection"
}, },
"editAssignedCollections": {
"message": "Edit assigned collections"
},
"deleteAssignedCollections": {
"message": "Delete assigned collections"
},
"manageGroups": { "manageGroups": {
"message": "Manage groups" "message": "Manage groups"
}, },

View File

@ -7,8 +7,6 @@ export class PermissionsApi extends BaseResponse {
createNewCollections: boolean; createNewCollections: boolean;
editAnyCollection: boolean; editAnyCollection: boolean;
deleteAnyCollection: boolean; deleteAnyCollection: boolean;
editAssignedCollections: boolean;
deleteAssignedCollections: boolean;
manageCiphers: boolean; manageCiphers: boolean;
manageGroups: boolean; manageGroups: boolean;
manageSso: boolean; manageSso: boolean;
@ -29,8 +27,6 @@ export class PermissionsApi extends BaseResponse {
this.createNewCollections = this.getResponseProperty("CreateNewCollections"); this.createNewCollections = this.getResponseProperty("CreateNewCollections");
this.editAnyCollection = this.getResponseProperty("EditAnyCollection"); this.editAnyCollection = this.getResponseProperty("EditAnyCollection");
this.deleteAnyCollection = this.getResponseProperty("DeleteAnyCollection"); this.deleteAnyCollection = this.getResponseProperty("DeleteAnyCollection");
this.editAssignedCollections = this.getResponseProperty("EditAssignedCollections");
this.deleteAssignedCollections = this.getResponseProperty("DeleteAssignedCollections");
this.manageCiphers = this.getResponseProperty("ManageCiphers"); this.manageCiphers = this.getResponseProperty("ManageCiphers");
this.manageGroups = this.getResponseProperty("ManageGroups"); this.manageGroups = this.getResponseProperty("ManageGroups");

View File

@ -340,8 +340,6 @@ describe("KeyConnectorService", () => {
createNewCollections: false, createNewCollections: false,
editAnyCollection: false, editAnyCollection: false,
deleteAnyCollection: false, deleteAnyCollection: false,
editAssignedCollections: false,
deleteAssignedCollections: false,
manageGroups: false, manageGroups: false,
managePolicies: false, managePolicies: false,
manageSso: false, manageSso: false,