1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 08:32:50 -05:00

[Reset Password] Manage Reset Password permission (#1252)

This commit is contained in:
Vincent Salucci
2021-04-05 09:45:17 -05:00
committed by GitHub
parent 4b98361684
commit 7a35813dfd
4 changed files with 15 additions and 1 deletions

View File

@ -788,6 +788,11 @@ namespace Bit.Core.Utilities
{
claims.Add(new KeyValuePair<string, string>("manageusers", org.Id.ToString()));
}
if (org.Permissions.ManageResetPassword)
{
claims.Add(new KeyValuePair<string, string>("manageresetpassword", org.Id.ToString()));
}
}
break;
default: