mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Add feature flag for scim navigation (#3146)
This commit is contained in:
@@ -16,6 +16,7 @@
|
|||||||
"proxyEvents": "https://events.bitwarden.com"
|
"proxyEvents": "https://events.bitwarden.com"
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"showTrial": false
|
"showTrial": false,
|
||||||
|
"scim": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"proxyNotifications": "http://localhost:61840"
|
"proxyNotifications": "http://localhost:61840"
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"showTrial": true
|
"showTrial": true,
|
||||||
|
"scim": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"proxyEvents": "https://events.qa.bitwarden.pw"
|
"proxyEvents": "https://events.qa.bitwarden.pw"
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"showTrial": true
|
"showTrial": true,
|
||||||
|
"scim": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"port": 8081
|
"port": 8081
|
||||||
},
|
},
|
||||||
"flags": {
|
"flags": {
|
||||||
"showTrial": false
|
"showTrial": false,
|
||||||
|
"scim": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ import { ActivatedRoute } from "@angular/router";
|
|||||||
import { OrganizationService } from "@bitwarden/common/abstractions/organization.service";
|
import { OrganizationService } from "@bitwarden/common/abstractions/organization.service";
|
||||||
import { Organization } from "@bitwarden/common/models/domain/organization";
|
import { Organization } from "@bitwarden/common/models/domain/organization";
|
||||||
|
|
||||||
|
import { flagEnabled } from "../../../utils/flags";
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: "app-org-manage",
|
selector: "app-org-manage",
|
||||||
templateUrl: "manage.component.html",
|
templateUrl: "manage.component.html",
|
||||||
@@ -25,7 +27,12 @@ export class ManageComponent implements OnInit {
|
|||||||
this.accessSso = this.organization.useSso;
|
this.accessSso = this.organization.useSso;
|
||||||
this.accessEvents = this.organization.useEvents;
|
this.accessEvents = this.organization.useEvents;
|
||||||
this.accessGroups = this.organization.useGroups;
|
this.accessGroups = this.organization.useGroups;
|
||||||
|
|
||||||
|
if (flagEnabled("scim")) {
|
||||||
this.accessScim = this.organization.useScim;
|
this.accessScim = this.organization.useScim;
|
||||||
|
} else {
|
||||||
|
this.accessScim = false;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
export type Flags = {
|
export type Flags = {
|
||||||
showTrial?: boolean;
|
showTrial?: boolean;
|
||||||
|
scim?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type FlagName = keyof Flags;
|
export type FlagName = keyof Flags;
|
||||||
|
|||||||
Reference in New Issue
Block a user