Skip to content

Commit

Permalink
hided new self credentials page from left menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Kateryna Honchar committed Jun 8, 2022
1 parent 581d7a5 commit ec2d8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,10 @@ private SideBarMenuItem createSelfServiceMenu(boolean experimentalFeaturesEnable
WebComponentUtil.resolveSelfPage(), pageParameters));
menu.addMainMenuItem(createMainMenuItem("PageAdmin.menu.credentials", GuiStyleConstants.CLASS_ICON_CREDENTIALS,
PageSelfCredentials.class));
/** menu item which leads to new self Credentials page
menu.addMainMenuItem(createMainMenuItem("PageAdmin.menu.credentials", GuiStyleConstants.CLASS_ICON_CREDENTIALS,
com.evolveum.midpoint.gui.impl.page.self.credentials.PageSelfCredentials.class));
*/
if (WebModelServiceUtils.getLoggedInFocus() instanceof UserType) {
menu.addMainMenuItem(createMainMenuItem("PageAdmin.menu.request", GuiStyleConstants.CLASS_ICON_REQUEST,
PageAssignmentShoppingCart.class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ private SearchItemType createOidSearchItem(OidSearchItemWrapper oidSearchItemWra

private void saveSearchItemToAdminConfig(AvailableFilterType availableFilter, AjaxRequestTarget ajaxRequestTarget) {
FocusType principalFocus = getPageBase().getPrincipalFocus();
// boolean newObjectListView = WebComponentUtil.getPrincipalUserObjectListView(getPageBase(), principalFocus, type, false) == null;
// GuiObjectListViewType view = WebComponentUtil.getPrincipalUserObjectListView(getPageBase(), principalFocus, type, false);

boolean viewExists = true;
List<ItemName> path = new ArrayList<>();
Object valueToAdd = null;
Expand Down

0 comments on commit ec2d8fb

Please sign in to comment.