Skip to content

Commit

Permalink
MID-9576 cleanup container ids hidden for now
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Apr 4, 2024
1 parent c0ec132 commit e594a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.evolveum.midpoint.common.cleanup.CleanupActionProcessor;
import com.evolveum.midpoint.common.cleanup.CleanupPath;
import com.evolveum.midpoint.common.cleanup.CleanupPathAction;
import com.evolveum.midpoint.studio.util.MidPointUtils;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.openapi.project.Project;
Expand Down Expand Up @@ -45,7 +46,8 @@ private CleanupPathAction getAskActionOverride() {
}

private boolean isRemoveContainerIds() {
return getSettings().isRemoveContainerIds();
// todo enabled also option to remove container IDs in configurable
return MidPointUtils.isDevelopmentMode(true) && getSettings().isRemoveContainerIds();
}

public CleanupActionProcessor createCleanupProcessor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ class CleanupConfigurable(val project: Project) :
)
}
// todo disabled for now since we have to decide on approach to PCV IDs and cleanup/storing in vcs
// also check CleanupService (development switch also there)
row {
checkBox(message("CleanupConfigurable.removeContainerIds"))
.comment(message("CleanupConfigurable.removeContainerIds.comment"))
Expand Down

0 comments on commit e594a60

Please sign in to comment.