mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
[Reset Password] Manage Reset Password permission (#1252)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user