Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-12281] [PM-12301] [PM-12306] [PM-12334] Move delete item permission to Can Manage #11289

Merged
merged 51 commits into from
Oct 22, 2024

Conversation

gbubemismith
Copy link
Member

@gbubemismith gbubemismith commented Sep 27, 2024

🎟️ Tracking

PM-12281
PM-12301
PM-12306
PM-12334

📔 Objective

Currently, users with Can Edit permissions can delete items within the collection. This should be updated so that only users with the Can Manage permission can delete items within a collection.

📸 Screenshots

Web

Screen.Recording.2024-09-20.at.12.35.28.PM.mov

Desktop

Screen.Recording.2024-09-27.at.6.19.17.PM.mov

Extension

Screen.Recording.2024-09-27.at.6.16.49.PM.mov

Cli

Screenshot 2024-09-27 at 6 24 36 PM

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 30.52632% with 66 lines in your changes missing coverage. Please review.

Project coverage is 33.15%. Comparing base (fa41f29) to head (8936af9).
Report is 79 commits behind head on main.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...lt/components/vault-items/vault-items.component.ts 0.00% 30 Missing ⚠️
.../src/app/vault/individual-vault/vault.component.ts 0.00% 5 Missing ⚠️
...angular/src/vault/components/add-edit.component.ts 0.00% 5 Missing ⚠️
...src/vault/popup/components/vault/view.component.ts 0.00% 4 Missing ⚠️
apps/cli/src/vault/delete.command.ts 0.00% 4 Missing ⚠️
...ibs/angular/src/vault/components/view.component.ts 0.00% 4 Missing ⚠️
apps/browser/src/background/main.background.ts 0.00% 2 Missing ⚠️
...vault/popup/components/vault/add-edit.component.ts 0.00% 2 Missing ⚠️
...s/vault-item-dialog/vault-item-dialog.component.ts 50.00% 2 Missing ⚠️
...pps/web/src/app/vault/org-vault/vault.component.ts 0.00% 2 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11289      +/-   ##
==========================================
- Coverage   33.16%   33.15%   -0.02%     
==========================================
  Files        2779     2780       +1     
  Lines       86225    86391     +166     
  Branches    16420    16477      +57     
==========================================
+ Hits        28597    28640      +43     
- Misses      55362    55469     +107     
- Partials     2266     2282      +16     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Sep 27, 2024

Logo
Checkmarx One – Scan Summary & Details181097fe-c9cd-4aad-b1b0-244243e4d69c

No New Or Fixed Issues Found

@gbubemismith gbubemismith changed the title Vault/pm 12334 [PM-12281] [PM-12301] [PM-12306] Sep 27, 2024
@gbubemismith gbubemismith changed the base branch from vault/PM-12281 to main September 27, 2024 20:31
@gbubemismith gbubemismith changed the title [PM-12281] [PM-12301] [PM-12306] [PM-12281] [PM-12301] [PM-12306] [PM-12334] Move delete item permission to Can Manage Sep 27, 2024
@gbubemismith gbubemismith marked this pull request as ready for review September 27, 2024 22:26
@gbubemismith gbubemismith requested review from a team as code owners September 27, 2024 22:26
shane-melton
shane-melton previously approved these changes Oct 8, 2024
Copy link
Member

@shane-melton shane-melton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, nice work!

ike-kottlowski
ike-kottlowski previously approved these changes Oct 8, 2024
shane-melton
shane-melton previously approved these changes Oct 14, 2024
shane-melton
shane-melton previously approved these changes Oct 14, 2024
ike-kottlowski
ike-kottlowski previously approved these changes Oct 14, 2024
@gbubemismith gbubemismith merged commit 4a30782 into main Oct 22, 2024
65 of 66 checks passed
@gbubemismith gbubemismith deleted the vault/PM-12334 branch October 22, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants