mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 02:22:49 -05:00
[PM-2730] Add missing hide-passwords permission to api models (#3125)
* Add missing hide-passwords permission to api models * Update src/Api/Auth/Models/Public/AssociationWithPermissionsBaseModel.cs Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com> * Rename ToSelectionReadOnly to ToCollectionAccessSelection * Remove Required attribute which would break backwards compatability * Update src/Api/Auth/Models/Public/Request/AssociationWithPermissionsRequestModel.cs Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com> --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com> Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
This commit is contained in:

committed by
GitHub

parent
a480bd16e4
commit
03cbc7983b
@ -15,4 +15,9 @@ public abstract class AssociationWithPermissionsBaseModel
|
||||
/// </summary>
|
||||
[Required]
|
||||
public bool? ReadOnly { get; set; }
|
||||
/// <summary>
|
||||
/// When true, the hide passwords permission will not allow the user or group to view passwords.
|
||||
/// This prevents easy copy-and-paste of hidden items, however it may not completely prevent user access.
|
||||
/// </summary>
|
||||
public bool? HidePasswords { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user