mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
[PM-19022] Separate Manage Account Recovery and Manage Users custom role (#14629)
* Add SeparateCustomRolePermissions feature flag * Allow 'Manage Account Recovery' to be configured separately from 'Manage Users'
This commit is contained in:
@@ -456,7 +456,13 @@ export class MemberDialogComponent implements OnDestroy {
|
||||
return Object.assign(p, partialPermissions);
|
||||
}
|
||||
|
||||
handleDependentPermissions() {
|
||||
async handleDependentPermissions() {
|
||||
const separateCustomRolePermissions = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.SeparateCustomRolePermissions,
|
||||
);
|
||||
if (separateCustomRolePermissions) {
|
||||
return;
|
||||
}
|
||||
// Manage Password Reset (Account Recovery) must have Manage Users enabled
|
||||
if (
|
||||
this.permissionsGroup.value.manageResetPassword &&
|
||||
|
||||
Reference in New Issue
Block a user