-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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-18890] Import errors cause permissions are reversed #5469
base: main
Are you sure you want to change the base?
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5469 +/- ##
==========================================
- Coverage 44.45% 44.45% -0.01%
==========================================
Files 1530 1530
Lines 70999 71021 +22
Branches 6372 6376 +4
==========================================
+ Hits 31562 31570 +8
- Misses 38070 38083 +13
- Partials 1367 1368 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@voommen-livefront I previously, while working/debugging #5385 I came to the same solution, but it allows a user to create sub-collections within their managed collection. Something which currently we do not want to enable.
IMHO if we want to support this, then we should also enable members to create sub-collections within the organizational vault UI.
Lets discuss this offline with product again.
New Issues (8)Checkmarx found the following issues in this Pull Request
Fixed Issues (7)Great job! The following issues were fixed in this Pull Request
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-18890
📔 Objective
Given a user, who is not the owner or admin of an organization, but has been giving privileges to Manage a collection, the user must be able to import into that org.
The reason for the failure is this:
ImportCipher
privileges - the program would returnno privilege
Create
privileges - the program would returnno privilege
This PR changes it to this:
Import Cipher
privileges - then return 'yes`Create
privilege - then returnyes
📸 Screenshots
None at this time
⏰ Reminders before review
🦮 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