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-18278] fix conditional in template #13392

Merged

Conversation

BTreston
Copy link
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-18278

📔 Objective

Fixes an issue where canCreateCiphers conditional overrides the canCreateCollections permission due to the structure of the template

📸 Screenshots

Screenshot 2025-02-13 at 2 24 21 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

@BTreston BTreston requested a review from a team as a code owner February 13, 2025 19:24
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.32%. Comparing base (f0dcc1a) to head (8e380ff).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13392      +/-   ##
==========================================
- Coverage   35.33%   35.32%   -0.01%     
==========================================
  Files        3129     3129              
  Lines       92579    92579              
  Branches    16807    16807              
==========================================
- Hits        32713    32706       -7     
- Misses      57427    57434       +7     
  Partials     2439     2439              

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

@@ -105,7 +105,7 @@
class="tw-shrink-0"
>
<!-- "New" menu is always shown unless the user cannot create a cipher -->
Copy link
Member

Choose a reason for hiding this comment

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

🎨 Update this comment to match the new functionality, please.

Copy link
Contributor

Logo
Checkmarx One – Scan Summary & Details9b0ad147-d43f-4dfe-9ccd-175bdc62192d

Great job, no security vulnerabilities found in this Pull Request

@BTreston BTreston merged commit a5d0451 into main Feb 13, 2025
49 checks passed
@BTreston BTreston deleted the ac/pm-18278-New-Collection-button-is-missing-for-providers branch February 13, 2025 21:35
jprusik pushed a commit to jprusik/clients that referenced this pull request Feb 14, 2025
* fix conditional in template

* update comment
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