Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config to disable userstore selection dropdown in group creation wizard #6836

Merged
merged 7 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/yellow-flowers-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wso2is/admin.extensions.v1": patch
"@wso2is/admin.groups.v1": patch
---

Add config to disable userstore selection dropdown in group creation wizard
4 changes: 2 additions & 2 deletions features/admin.extensions.v1/configs/groups.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2021, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2021-2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand All @@ -20,6 +20,6 @@ import { GroupConfig } from "./models";

export const groupConfig: GroupConfig = {
addGroupWizard: {
defaultUserstore: "PRIMARY"
showUserstoreDropdown: true
}
};
3 changes: 2 additions & 1 deletion features/admin.extensions.v1/configs/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2021, WSO2 LLC. (https://www.wso2.com). All Rights Reserved.
* Copyright (c) 2021-2024, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down Expand Up @@ -28,3 +28,4 @@ export * from "./userstores";
export * from "./user";
export * from "./organization";
export * from "./authenticator";
export * from "./groups";
2 changes: 1 addition & 1 deletion features/admin.extensions.v1/configs/models/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import { GroupsInterface } from "@wso2is/admin.groups.v1";

export interface GroupConfig {
addGroupWizard: {
defaultUserstore?: string;
requiredSteps?: string[];
showUserstoreDropdown?: boolean;
subHeading?: string;
submitStep?: string;
};
Expand Down
Loading
Loading