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

Add support collection access, hide passwords #743

Merged
merged 9 commits into from
Jun 11, 2020

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented May 21, 2020

This PR adds support for a new collection access, HidePasswords which in some ways behaves similar to ReadOnly. Except instead of marking ciphers ReadOnly it toggles if the user can view passwords.

If the user has access to a collection with the flag HidePasswords each cipher belonging to the collection will have the flag showPassword set to false. It's then up to each client on how to deal with it.

@CLAassistant
Copy link

CLAassistant commented May 21, 2020

CLA assistant check
All committers have signed the CLA.

src/Sql/dbo/Functions/UserCollectionDetails.sql Outdated Show resolved Hide resolved
src/Sql/dbo/Tables/CollectionGroup.sql Outdated Show resolved Hide resolved
src/Sql/dbo/Tables/CollectionUser.sql Outdated Show resolved Hide resolved
@cscharf cscharf requested a review from kspearrin May 21, 2020 14:22
…ture/hide-passwords

# Conflicts:
#	src/Sql/dbo/Stored Procedures/CollectionUser_UpdateUsers.sql
#	src/Sql/dbo/Stored Procedures/OrganizationUser_UpdateWithCollections.sql
@cscharf cscharf self-requested a review May 22, 2020 21:01
cscharf
cscharf previously approved these changes May 26, 2020
@cscharf cscharf merged commit 5b3f81f into bitwarden:master Jun 11, 2020
jjlin added a commit to jjlin/vaultwarden that referenced this pull request Jul 3, 2020
Koisell pushed a commit to Koisell/vaultwarden that referenced this pull request Feb 17, 2021
thelittlefireman pushed a commit to thelittlefireman/bitwarden_rs that referenced this pull request Mar 19, 2021
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.

4 participants