1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00
bitwarden-browser/apps/browser/src
SmithThe4th 4a30782939
[PM-12281] [PM-12301] [PM-12306] [PM-12334] Move delete item permission to Can Manage (#11289)
* Added inputs to the view and edit component to disable or remove the delete button when a user does not have manage rights

* Refactored editByCipherId to receive cipherview object

* Fixed issue where adding an item on the individual vault throws a null reference

* Fixed issue where adding an item on the AC vault throws a null reference

* Allow delete in unassigned collection

* created reusable service to check if a user has delete permission on an item

* Registered service

* Used authorizationservice on the browser and desktop

Only display the delete button when a user has delete permission

* Added comments to the service

* Passed active collectionId to add edit component

renamed constructor parameter

* restored input property used by the web

* Fixed dependency issue

* Fixed dependency issue

* Fixed dependency issue

* Modified service to cater for org vault

* Updated to include new dependency

* Updated components to use the observable

* Added check on the cli to know if user has rights to delete an item

* Renamed abstraction and renamed implementation to include Default

Fixed permission issues

* Fixed test to reflect changes in implementation

* Modified base classes to use new naming

Passed new parameters for the canDeleteCipher

* Modified base classes to use new naming

Made changes from base class

* Desktop changes

Updated reference naming

* cli changes

Updated reference naming

Passed new parameters for the canDeleteCipher$

* Updated references

* browser changes

Updated reference naming

Passed new parameters for the canDeleteCipher$

* Modified cipher form dialog to take in active collection id

used canDeleteCipher$ on the vault item dialog to disable the delete button when user does not have the required permissions

* Fix number of arguments issue

* Added active collection id

* Updated canDeleteCipher$ arguments

* Updated to pass the cipher object

* Fixed up refrences and comments

* Updated dependency

* updated check to canEditUnassignedCiphers

* Fixed unit tests

* Removed activeCollectionId from cipher form

* Fixed issue where bulk delete option shows for can edit users

* Fix null reference when checking if a cipher belongs to the unassigned collection

* Fixed bug where allowedCollection passed is undefined

* Modified cipher by adding a isAdminConsoleAction argument to tell when a reuqest comes from the admin console

* Passed isAdminConsoleAction as true when request is from the admin console
2024-10-22 09:15:15 -04:00
..
_locales [PM-13189] Send copy updates (#11619) 2024-10-21 10:10:57 -04:00
admin-console/types Remove deprecated factory methods (#9077) 2024-05-20 09:07:39 +10:00
auth AnonLayoutWrapperComponents - Add reset support for null values (#11651) 2024-10-21 18:52:07 -04:00
autofill [PM-13675] Adjust browser autofill override instructions conditions and placement in the settings view (#11559) 2024-10-21 09:50:59 -04:00
background [PM-12281] [PM-12301] [PM-12306] [PM-12334] Move delete item permission to Can Manage (#11289) 2024-10-22 09:15:15 -04:00
billing/popup/settings fix copy and margin (#10683) 2024-08-26 09:12:04 -07:00
browser [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
images [PS-1693] feat(browser): implement theming for notification bar (#3805) 2022-10-27 19:34:47 +02:00
key-management/biometrics [PM-8836] Move ownership of biometrics to key-management (#10818) 2024-09-30 18:14:32 +02:00
models [PM-12747] Move CollectionService and models to AC Team (#11278) 2024-10-08 10:14:39 -04:00
platform [PM-9876] Safari Passkeys Prompt is Not Triggered (#11471) 2024-10-09 08:45:28 -05:00
popup [PM-13251] Password History (#11618) 2024-10-18 14:57:08 -05:00
safari [PM-11290] Fix safari not starting with sdk (#11438) 2024-10-07 18:00:07 +02:00
services Auth/PM-9449 - UI Refresh + Client component consolidation into new LockV2 Component (#10451) 2024-10-01 16:06:18 -04:00
tools fix voiceover on send created screen (#11628) 2024-10-21 20:50:50 +02:00
types [AC-1011] Admin Console / Billing code ownership (#4973) 2023-03-22 10:03:50 -05:00
vault [PM-12281] [PM-12301] [PM-12306] [PM-12334] Move delete item permission to Can Manage (#11289) 2024-10-22 09:15:15 -04:00
managed_schema.json [SM-88] [BEEEP] Add support for chrome.storage.managed for environment urls (#3120) 2022-08-08 07:40:09 -04:00
manifest.json Revert "Bumped client version(s) (#11564)" (#11566) 2024-10-15 18:38:13 +00:00
manifest.v3.json Revert "Bumped client version(s) (#11564)" (#11566) 2024-10-15 18:38:13 +00:00